public class OrgJsonValueSerializer extends ValueSerializerAdapter<OrgJsonValueSerializer.OrgJsonOutput>
| Modifier and Type | Class and Description |
|---|---|
static class |
OrgJsonValueSerializer.OrgJsonOutput
Helper to pass around the Writer alongside the JSONWriter so we can flush it onSerializationEnd.
|
ValueSerializerAdapter.ComplexSerializer<T,OutputType>ValueSerializer.Options| Constructor and Description |
|---|
OrgJsonValueSerializer() |
| Modifier and Type | Method and Description |
|---|---|
protected OrgJsonValueSerializer.OrgJsonOutput |
adaptOutput(OutputStream output) |
protected void |
onArrayEnd(OrgJsonValueSerializer.OrgJsonOutput output) |
protected void |
onArrayStart(OrgJsonValueSerializer.OrgJsonOutput output) |
protected void |
onFieldStart(OrgJsonValueSerializer.OrgJsonOutput output,
String fieldName) |
protected void |
onObjectEnd(OrgJsonValueSerializer.OrgJsonOutput output) |
protected void |
onObjectStart(OrgJsonValueSerializer.OrgJsonOutput output) |
protected void |
onSerializationEnd(Object object,
OrgJsonValueSerializer.OrgJsonOutput output) |
protected void |
onValue(OrgJsonValueSerializer.OrgJsonOutput output,
Object value) |
onFieldEnd, onSerializationStart, onValueEnd, onValueStart, registerComplexSerializer, registerSerializer, serialize, serialize, serialize, serialize, serialize, serialize, serialize, serialize, serializeprotected OrgJsonValueSerializer.OrgJsonOutput adaptOutput(OutputStream output) throws Exception
adaptOutput in class ValueSerializerAdapter<OrgJsonValueSerializer.OrgJsonOutput>Exceptionprotected void onSerializationEnd(Object object, OrgJsonValueSerializer.OrgJsonOutput output) throws Exception
onSerializationEnd in class ValueSerializerAdapter<OrgJsonValueSerializer.OrgJsonOutput>Exceptionprotected void onArrayStart(OrgJsonValueSerializer.OrgJsonOutput output) throws Exception
onArrayStart in class ValueSerializerAdapter<OrgJsonValueSerializer.OrgJsonOutput>Exceptionprotected void onArrayEnd(OrgJsonValueSerializer.OrgJsonOutput output) throws Exception
onArrayEnd in class ValueSerializerAdapter<OrgJsonValueSerializer.OrgJsonOutput>Exceptionprotected void onObjectStart(OrgJsonValueSerializer.OrgJsonOutput output) throws Exception
onObjectStart in class ValueSerializerAdapter<OrgJsonValueSerializer.OrgJsonOutput>Exceptionprotected void onObjectEnd(OrgJsonValueSerializer.OrgJsonOutput output) throws Exception
onObjectEnd in class ValueSerializerAdapter<OrgJsonValueSerializer.OrgJsonOutput>Exceptionprotected void onFieldStart(OrgJsonValueSerializer.OrgJsonOutput output, String fieldName) throws Exception
onFieldStart in class ValueSerializerAdapter<OrgJsonValueSerializer.OrgJsonOutput>Exceptionprotected void onValue(OrgJsonValueSerializer.OrgJsonOutput output, Object value) throws Exception
onValue in class ValueSerializerAdapter<OrgJsonValueSerializer.OrgJsonOutput>Exception