public class GraphSONTypeSerializer
extends TypeSerializer
Modifier and Type | Method and Description |
---|---|
TypeSerializer |
forProperty(BeanProperty beanProperty) |
String |
getPropertyName() |
TypeIdResolver |
getTypeIdResolver() |
JsonTypeInfo.As |
getTypeInclusion() |
WritableTypeId |
writeTypePrefix(JsonGenerator jsonGenerator,
WritableTypeId writableTypeId) |
WritableTypeId |
writeTypeSuffix(JsonGenerator jsonGenerator,
WritableTypeId writableTypeId) |
public TypeSerializer forProperty(BeanProperty beanProperty)
public JsonTypeInfo.As getTypeInclusion()
public String getPropertyName()
public TypeIdResolver getTypeIdResolver()
public WritableTypeId writeTypePrefix(JsonGenerator jsonGenerator, WritableTypeId writableTypeId) throws IOException
IOException
public WritableTypeId writeTypeSuffix(JsonGenerator jsonGenerator, WritableTypeId writableTypeId) throws IOException
IOException
Copyright © 2013–2018 Apache Software Foundation. All rights reserved.