Class JsonProtocolUnmarshaller
java.lang.Object
software.amazon.awssdk.protocols.json.internal.unmarshall.JsonProtocolUnmarshaller
Unmarshaller implementation for both JSON RPC and REST JSON services. This class is thread-safe and it is recommended to reuse
a single instance for best performance.
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionbuilder()static JsonUnmarshallerRegistryCreates the defaultJsonProtocolUnmarshaller, which parsesInstantusing the default formats passed in.<TypeT extends SdkPojo>
TypeTunmarshall(SdkPojo sdkPojo, SdkHttpFullResponse response) <TypeT extends SdkPojo>
TypeTunmarshall(SdkPojo sdkPojo, SdkHttpFullResponse response, JsonNode jsonContent)
-
Method Details
-
defaultProtocolUnmarshallDependencies
-
newProtocolUnmarshallDependencies
-
unmarshall
public <TypeT extends SdkPojo> TypeT unmarshall(SdkPojo sdkPojo, SdkHttpFullResponse response) throws IOException - Throws:
IOException
-
unmarshall
public <TypeT extends SdkPojo> TypeT unmarshall(SdkPojo sdkPojo, SdkHttpFullResponse response, JsonNode jsonContent) -
builder
- Returns:
- New instance of
JsonProtocolUnmarshaller.Builder.
-
timestampFormatRegistryFactory
public static JsonUnmarshallerRegistry timestampFormatRegistryFactory(Map<MarshallLocation, TimestampFormatTrait.Format> formats) Creates the defaultJsonProtocolUnmarshaller, which parsesInstantusing the default formats passed in.
-