public interface ObjectMapper
ObjectMapperType
) but you can implement this interface
to roll your own mapper implementations for custom formats.Modifier and Type | Method and Description |
---|---|
Object |
deserialize(ObjectMapperDeserializationContext context)
Deserialize a response to a Java object
|
Object |
serialize(ObjectMapperSerializationContext context)
Serialize a request to an object (String, InputStream or byte[]) that'll be used as the request body.
|
Object deserialize(ObjectMapperDeserializationContext context)
context
- The details needed to convert the response to a Java objectObject serialize(ObjectMapperSerializationContext context)
context
- The details needed to convert the request from a Java object to a objectCopyright © 2010–2017. All rights reserved.