|
Nuxeo ECM Projects 5.4.3-SNAPSHOT | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
T
- public interface JsonMarshaller<T>
Plugs in automation client new input/output marshalling logic.
Method Summary | |
---|---|
Class<T> |
getJavaType()
The marshalled java type |
String |
getType()
The type name that appears in serialization |
T |
read(org.codehaus.jackson.JsonParser jp)
Builds and returns a POJO from the JSON object |
void |
write(org.codehaus.jackson.JsonGenerator jg,
T value)
Writes the POJO object to the JsonGenerator |
Method Detail |
---|
String getType()
Class<T> getJavaType()
T read(org.codehaus.jackson.JsonParser jp) throws Exception
json
-
Exception
void write(org.codehaus.jackson.JsonGenerator jg, T value) throws Exception
o
- value
-
Exception
|
Nuxeo ECM Projects 5.4.3-SNAPSHOT | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |