public class BooleanMarshaller extends Object implements JsonMarshaller<Boolean>
| Constructor and Description |
|---|
BooleanMarshaller() |
| Modifier and Type | Method and Description |
|---|---|
Class<Boolean> |
getJavaType()
The marshalled java type
|
String |
getType()
The type name that appears in serialization
|
Boolean |
read(org.codehaus.jackson.JsonParser jp)
Builds and returns a POJO from the JSON object
|
void |
write(org.codehaus.jackson.JsonGenerator jg,
Object value)
Writes the POJO object to the JsonGenerator
|
public String getType()
JsonMarshallergetType in interface JsonMarshaller<Boolean>public Class<Boolean> getJavaType()
JsonMarshallergetJavaType in interface JsonMarshaller<Boolean>public Boolean read(org.codehaus.jackson.JsonParser jp) throws Exception
JsonMarshallerread in interface JsonMarshaller<Boolean>Exceptionpublic void write(org.codehaus.jackson.JsonGenerator jg,
Object value)
throws Exception
JsonMarshallerwrite in interface JsonMarshaller<Boolean>ExceptionCopyright © 2014 Nuxeo SA. All rights reserved.