T - public interface JsonMarshaller<T>
| Modifier and Type | Method and Description |
|---|---|
Class<T> |
getJavaType()
The marshalled java type
|
String |
getType()
The type name that appears in serialization
|
T |
read(com.fasterxml.jackson.core.JsonParser jp)
Builds and returns a POJO from the JSON object
|
void |
write(com.fasterxml.jackson.core.JsonGenerator jg,
Object value)
Writes the POJO object to the JsonGenerator
|
Class<T> getJavaType()
T read(com.fasterxml.jackson.core.JsonParser jp) throws IOException
json - IOExceptionvoid write(com.fasterxml.jackson.core.JsonGenerator jg, Object value) throws IOException
o - value - IOExceptionCopyright © 2019 Nuxeo. All rights reserved.