Interface JsonMarshaller<T>

Type Parameters:
T - Type to marshall.
All Superinterfaces:
Marshaller<T>
Functional Interface:
This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

@FunctionalInterface public interface JsonMarshaller<T> extends Marshaller<T>
Interface to marshall data according to the JSON protocol specification.
  • Field Details

  • Method Details

    • marshall

      void marshall(T val, JsonMarshallerContext context, String paramName, SdkField<T> sdkField)
      Marshall the data into the request.
      Parameters:
      val - Data to marshall (may be null).
      context - Dependencies needed for marshalling.
      paramName - Optional param/field name. May be null in certain situations.