T - Type to marshall.@FunctionalInterface public interface JsonMarshaller<T> extends Marshaller<T>
| Modifier and Type | Field and Description |
|---|---|
static JsonMarshaller<Void> |
NULL |
| Modifier and Type | Method and Description |
|---|---|
void |
marshall(T val,
JsonMarshallerContext context,
String paramName,
SdkField<T> sdkField)
Marshall the data into the request.
|
static final JsonMarshaller<Void> NULL
void marshall(T val, JsonMarshallerContext context, String paramName, SdkField<T> sdkField)
val - Data to marshall (may be null).context - Dependencies needed for marshalling.paramName - Optional param/field name. May be null in certain situations.Copyright © 2023. All rights reserved.