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 Summary
Fields Modifier and Type Field Description static JsonMarshaller<Void>
NULL
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
marshall(T val, JsonMarshallerContext context, String paramName, SdkField<T> sdkField)
Marshall the data into the request.
-
-
-
Field Detail
-
NULL
static final JsonMarshaller<Void> NULL
-
-
Method Detail
-
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.
-
-