Class JsonMarshaller<T>
java.lang.Object
com.amazonaws.services.dynamodbv2.datamodeling.JsonMarshaller<T>
- All Implemented Interfaces:
DynamoDBMarshaller<T>
A simple JSON marshaller that uses the Jackson JSON processor. It shares all limitations of that
library. For more information about Jackson, see: http://wiki.fasterxml.com/JacksonHome
-
Constructor Summary
ConstructorsConstructorDescriptionConstructs the JSON marshaller instance.JsonMarshaller
(Class<T> valueType) Constructs the JSON marshaller instance. -
Method Summary
-
Constructor Details
-
JsonMarshaller
Constructs the JSON marshaller instance.- Parameters:
valueType
- The value type (for generic type erasure).
-
JsonMarshaller
public JsonMarshaller()Constructs the JSON marshaller instance.
-
-
Method Details
-
getValueType
Gets the value type.- Returns:
- The value type.
-
marshall
Description copied from interface:DynamoDBMarshaller
Turns an object of type T into its String representation.- Specified by:
marshall
in interfaceDynamoDBMarshaller<T>
-
unmarshall
Description copied from interface:DynamoDBMarshaller
Turns a String representation of an object of type T into an object.- Specified by:
unmarshall
in interfaceDynamoDBMarshaller<T>
-