public interface ObjectMapper
ObjectMapperType) but you can implement this interface
to roll your own mapper implementations for custom formats.| Modifier and Type | Field and Description |
|---|---|
static ObjectMapperType |
GSON
Deprecated.
|
static ObjectMapperType |
JACKSON
Deprecated.
|
static ObjectMapperType |
JAXB
Deprecated.
|
| 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.
|
@Deprecated static final ObjectMapperType JACKSON
@Deprecated static final ObjectMapperType GSON
@Deprecated static final ObjectMapperType JAXB
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–2014. All rights reserved.