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(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
|
public BooleanMarshaller()
public String getType()
JsonMarshaller
getType
in interface JsonMarshaller<Boolean>
public Class<Boolean> getJavaType()
JsonMarshaller
getJavaType
in interface JsonMarshaller<Boolean>
public Boolean read(com.fasterxml.jackson.core.JsonParser jp) throws IOException
JsonMarshaller
read
in interface JsonMarshaller<Boolean>
IOException
public void write(com.fasterxml.jackson.core.JsonGenerator jg, Object value) throws IOException
JsonMarshaller
write
in interface JsonMarshaller<Boolean>
IOException
Copyright © 2018 Nuxeo. All rights reserved.