Interface DynamoDBMarshaller<T>

  • All Known Implementing Classes:
    AbstractEnumMarshaller, JsonMarshaller

    public interface DynamoDBMarshaller<T>
    Marshaller interface for storing complex types in DynamoDB as Strings. Implementors provide methods to transform instances of a class to and from Strings.
    • Method Detail

      • marshall

        String marshall​(T getterReturnResult)
        Turns an object of type T into its String representation.
      • unmarshall

        T unmarshall​(Class<T> clazz,
                     String obj)
        Turns a String representation of an object of type T into an object.