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