public abstract class JsonObjectMapperAdapter<P> extends java.lang.Object implements JsonObjectMapper<P>
Constructor and Description |
---|
JsonObjectMapperAdapter() |
Modifier and Type | Method and Description |
---|---|
<T> T |
fromJson(java.lang.Object json,
java.lang.Class<T> valueType) |
<T> T |
fromJson(java.lang.Object json,
java.util.Map<java.lang.String,java.lang.Object> javaTypes) |
<T> T |
fromJson(P parser,
java.lang.reflect.Type valueType) |
void |
populateJavaTypes(java.util.Map<java.lang.String,java.lang.Object> map,
java.lang.Class<?> sourceClass) |
java.lang.String |
toJson(java.lang.Object value) |
void |
toJson(java.lang.Object value,
java.io.Writer writer) |
public java.lang.String toJson(java.lang.Object value) throws java.lang.Exception
toJson
in interface JsonObjectMapper<P>
java.lang.Exception
public void toJson(java.lang.Object value, java.io.Writer writer) throws java.lang.Exception
toJson
in interface JsonObjectMapper<P>
java.lang.Exception
public <T> T fromJson(java.lang.Object json, java.lang.Class<T> valueType) throws java.lang.Exception
fromJson
in interface JsonObjectMapper<P>
java.lang.Exception
public <T> T fromJson(P parser, java.lang.reflect.Type valueType) throws java.lang.Exception
fromJson
in interface JsonObjectMapper<P>
java.lang.Exception
public <T> T fromJson(java.lang.Object json, java.util.Map<java.lang.String,java.lang.Object> javaTypes) throws java.lang.Exception
fromJson
in interface JsonObjectMapper<P>
java.lang.Exception
public void populateJavaTypes(java.util.Map<java.lang.String,java.lang.Object> map, java.lang.Class<?> sourceClass)
populateJavaTypes
in interface JsonObjectMapper<P>