T
- Type to marshall.public interface JsonMarshaller<T>
Modifier and Type | Field and Description |
---|---|
static JsonMarshaller<Void> |
NULL |
Modifier and Type | Method and Description |
---|---|
void |
marshall(T val,
JsonMarshallerContext context,
MarshallingInfo<T> marshallingInfo)
Marshall the data into the request.
|
static final JsonMarshaller<Void> NULL
void marshall(T val, JsonMarshallerContext context, MarshallingInfo<T> marshallingInfo)
val
- Data to marshall (may be null).context
- Dependencies needed for marshalling.marshallingInfo
- marshallingInfo. May be null in certain situations.