Jackson2JsonObjectMapper
for Jackson 2.x.@Deprecated public class JacksonJsonObjectMapper extends AbstractJacksonJsonObjectMapper<org.codehaus.jackson.JsonNode,org.codehaus.jackson.JsonParser,org.codehaus.jackson.type.JavaType>
toJson
and fromJson
to the ObjectMappersupportedJsonTypes
Constructor and Description |
---|
JacksonJsonObjectMapper()
Deprecated.
|
JacksonJsonObjectMapper(org.codehaus.jackson.map.ObjectMapper objectMapper)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
protected org.codehaus.jackson.type.JavaType |
constructType(Type type)
Deprecated.
|
protected org.codehaus.jackson.type.JavaType |
extractJavaType(Map<String,Object> javaTypes)
Deprecated.
|
<T> T |
fromJson(org.codehaus.jackson.JsonParser parser,
Type valueType)
Deprecated.
|
protected <T> T |
fromJson(Object json,
org.codehaus.jackson.type.JavaType type)
Deprecated.
|
void |
populateJavaTypes(Map<String,Object> map,
Class<?> sourceClass)
Deprecated.
|
String |
toJson(Object value)
Deprecated.
|
void |
toJson(Object value,
Writer writer)
Deprecated.
|
org.codehaus.jackson.JsonNode |
toJsonNode(Object value)
Deprecated.
|
createJavaType, fromJson, fromJson, setBeanClassLoader
public JacksonJsonObjectMapper()
public JacksonJsonObjectMapper(org.codehaus.jackson.map.ObjectMapper objectMapper)
public void toJson(Object value, Writer writer) throws Exception
Exception
public org.codehaus.jackson.JsonNode toJsonNode(Object value) throws Exception
Exception
public <T> T fromJson(org.codehaus.jackson.JsonParser parser, Type valueType) throws Exception
Exception
protected <T> T fromJson(Object json, org.codehaus.jackson.type.JavaType type) throws Exception
fromJson
in class AbstractJacksonJsonObjectMapper<org.codehaus.jackson.JsonNode,org.codehaus.jackson.JsonParser,org.codehaus.jackson.type.JavaType>
Exception
public void populateJavaTypes(Map<String,Object> map, Class<?> sourceClass)
protected org.codehaus.jackson.type.JavaType constructType(Type type)
constructType
in class AbstractJacksonJsonObjectMapper<org.codehaus.jackson.JsonNode,org.codehaus.jackson.JsonParser,org.codehaus.jackson.type.JavaType>
protected org.codehaus.jackson.type.JavaType extractJavaType(Map<String,Object> javaTypes) throws Exception
extractJavaType
in class AbstractJacksonJsonObjectMapper<org.codehaus.jackson.JsonNode,org.codehaus.jackson.JsonParser,org.codehaus.jackson.type.JavaType>
Exception