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
IOException
public void writeTypePrefixForObject(Object o, JsonGenerator jsonGenerator) throws IOException
IOException
public void writeTypePrefixForArray(Object o, JsonGenerator jsonGenerator) throws IOException
IOException
public void writeTypeSuffixForScalar(Object o, JsonGenerator jsonGenerator) throws IOException
IOException
public void writeTypeSuffixForObject(Object o, JsonGenerator jsonGenerator) throws IOException
IOException
public void writeTypeSuffixForArray(Object o, JsonGenerator jsonGenerator) throws IOException
IOException
public void writeCustomTypePrefixForScalar(Object o, JsonGenerator jsonGenerator, String s) throws IOException
IOException
public void writeCustomTypePrefixForObject(Object o, JsonGenerator jsonGenerator, String s) throws IOException
IOException
public void writeCustomTypePrefixForArray(Object o, JsonGenerator jsonGenerator, String s) throws IOException
IOException
public void writeCustomTypeSuffixForScalar(Object o, JsonGenerator jsonGenerator, String s) throws IOException
IOException
public void writeCustomTypeSuffixForObject(Object o, JsonGenerator jsonGenerator, String s) throws IOException
IOException
public void writeCustomTypeSuffixForArray(Object o, JsonGenerator jsonGenerator, String s) throws IOException
IOException
Copyright © 2013–2017 Apache Software Foundation. All rights reserved.