DynamoDBTypeConvertedJson
@Deprecated public class JsonMarshaller<T> extends Object implements DynamoDBMarshaller<T>
Constructor and Description |
---|
JsonMarshaller()
Deprecated.
Constructs the JSON marshaller instance.
|
JsonMarshaller(Class<T> valueType)
Deprecated.
Constructs the JSON marshaller instance.
|
Modifier and Type | Method and Description |
---|---|
protected Class<T> |
getValueType()
Deprecated.
Gets the value type.
|
String |
marshall(T obj)
Deprecated.
Turns an object of type T into its String representation.
|
T |
unmarshall(Class<T> clazz,
String json)
Deprecated.
Turns a String representation of an object of type T into an object.
|
public JsonMarshaller(Class<T> valueType)
valueType
- The value type (for generic type erasure).public JsonMarshaller()
protected final Class<T> getValueType()
public String marshall(T obj)
DynamoDBMarshaller
marshall
in interface DynamoDBMarshaller<T>
public T unmarshall(Class<T> clazz, String json)
DynamoDBMarshaller
unmarshall
in interface DynamoDBMarshaller<T>
Copyright © 2021. All rights reserved.