public class GraphSONTypeSerializer
extends TypeSerializer
| Modifier and Type | Method and Description |
|---|---|
TypeSerializer |
forProperty(BeanProperty beanProperty) |
String |
getPropertyName() |
TypeIdResolver |
getTypeIdResolver() |
JsonTypeInfo.As |
getTypeInclusion() |
void |
writeCustomTypePrefixForArray(Object o,
JsonGenerator jsonGenerator,
String s) |
void |
writeCustomTypePrefixForObject(Object o,
JsonGenerator jsonGenerator,
String s) |
void |
writeCustomTypePrefixForScalar(Object o,
JsonGenerator jsonGenerator,
String s) |
void |
writeCustomTypeSuffixForArray(Object o,
JsonGenerator jsonGenerator,
String s) |
void |
writeCustomTypeSuffixForObject(Object o,
JsonGenerator jsonGenerator,
String s) |
void |
writeCustomTypeSuffixForScalar(Object o,
JsonGenerator jsonGenerator,
String s) |
void |
writeTypePrefixForArray(Object o,
JsonGenerator jsonGenerator) |
void |
writeTypePrefixForObject(Object o,
JsonGenerator jsonGenerator) |
void |
writeTypePrefixForScalar(Object o,
JsonGenerator jsonGenerator) |
void |
writeTypeSuffixForArray(Object o,
JsonGenerator jsonGenerator) |
void |
writeTypeSuffixForObject(Object o,
JsonGenerator jsonGenerator) |
void |
writeTypeSuffixForScalar(Object o,
JsonGenerator jsonGenerator) |
public TypeSerializer forProperty(BeanProperty beanProperty)
public JsonTypeInfo.As getTypeInclusion()
public String getPropertyName()
public TypeIdResolver getTypeIdResolver()
public void writeTypePrefixForScalar(Object o, JsonGenerator jsonGenerator) throws IOException
IOExceptionpublic void writeTypePrefixForObject(Object o, JsonGenerator jsonGenerator) throws IOException
IOExceptionpublic void writeTypePrefixForArray(Object o, JsonGenerator jsonGenerator) throws IOException
IOExceptionpublic void writeTypeSuffixForScalar(Object o, JsonGenerator jsonGenerator) throws IOException
IOExceptionpublic void writeTypeSuffixForObject(Object o, JsonGenerator jsonGenerator) throws IOException
IOExceptionpublic void writeTypeSuffixForArray(Object o, JsonGenerator jsonGenerator) throws IOException
IOExceptionpublic void writeCustomTypePrefixForScalar(Object o, JsonGenerator jsonGenerator, String s) throws IOException
IOExceptionpublic void writeCustomTypePrefixForObject(Object o, JsonGenerator jsonGenerator, String s) throws IOException
IOExceptionpublic void writeCustomTypePrefixForArray(Object o, JsonGenerator jsonGenerator, String s) throws IOException
IOExceptionpublic void writeCustomTypeSuffixForScalar(Object o, JsonGenerator jsonGenerator, String s) throws IOException
IOExceptionpublic void writeCustomTypeSuffixForObject(Object o, JsonGenerator jsonGenerator, String s) throws IOException
IOExceptionpublic void writeCustomTypeSuffixForArray(Object o, JsonGenerator jsonGenerator, String s) throws IOException
IOExceptionCopyright © 2013–2016 Apache Software Foundation. All rights reserved.