public abstract class AbstractGraphSONTypeSerializer
extends org.apache.tinkerpop.shaded.jackson.databind.jsontype.TypeSerializer
Modifier and Type | Field and Description |
---|---|
protected Map<Class,Class> |
classMap |
protected org.apache.tinkerpop.shaded.jackson.databind.jsontype.TypeIdResolver |
idRes |
protected String |
propertyName |
protected TypeInfo |
typeInfo |
protected String |
valuePropertyName |
Modifier and Type | Method and Description |
---|---|
protected boolean |
canWriteTypeId() |
org.apache.tinkerpop.shaded.jackson.databind.jsontype.TypeSerializer |
forProperty(org.apache.tinkerpop.shaded.jackson.databind.BeanProperty beanProperty) |
protected abstract Class |
getClassFromObject(Object o)
We force only **one** translation of a Java object to a domain specific object.
|
String |
getPropertyName() |
org.apache.tinkerpop.shaded.jackson.databind.jsontype.TypeIdResolver |
getTypeIdResolver() |
org.apache.tinkerpop.shaded.jackson.annotation.JsonTypeInfo.As |
getTypeInclusion() |
protected void |
writeTypePrefix(org.apache.tinkerpop.shaded.jackson.core.JsonGenerator jsonGenerator,
String s) |
protected void |
writeTypeSuffix(org.apache.tinkerpop.shaded.jackson.core.JsonGenerator jsonGenerator) |
_writeLegacySuffix, typeId, typeId, typeId, writeCustomTypePrefixForArray, writeCustomTypePrefixForObject, writeCustomTypePrefixForScalar, writeCustomTypeSuffixForArray, writeCustomTypeSuffixForObject, writeCustomTypeSuffixForScalar, writeTypePrefix, writeTypePrefixForArray, writeTypePrefixForArray, writeTypePrefixForObject, writeTypePrefixForObject, writeTypePrefixForScalar, writeTypePrefixForScalar, writeTypeSuffix, writeTypeSuffixForArray, writeTypeSuffixForObject, writeTypeSuffixForScalar
protected final org.apache.tinkerpop.shaded.jackson.databind.jsontype.TypeIdResolver idRes
protected final String propertyName
protected final TypeInfo typeInfo
protected final String valuePropertyName
public org.apache.tinkerpop.shaded.jackson.databind.jsontype.TypeSerializer forProperty(org.apache.tinkerpop.shaded.jackson.databind.BeanProperty beanProperty)
forProperty
in class org.apache.tinkerpop.shaded.jackson.databind.jsontype.TypeSerializer
public org.apache.tinkerpop.shaded.jackson.annotation.JsonTypeInfo.As getTypeInclusion()
getTypeInclusion
in class org.apache.tinkerpop.shaded.jackson.databind.jsontype.TypeSerializer
public String getPropertyName()
getPropertyName
in class org.apache.tinkerpop.shaded.jackson.databind.jsontype.TypeSerializer
public org.apache.tinkerpop.shaded.jackson.databind.jsontype.TypeIdResolver getTypeIdResolver()
getTypeIdResolver
in class org.apache.tinkerpop.shaded.jackson.databind.jsontype.TypeSerializer
protected boolean canWriteTypeId()
protected void writeTypePrefix(org.apache.tinkerpop.shaded.jackson.core.JsonGenerator jsonGenerator, String s) throws IOException
IOException
protected void writeTypeSuffix(org.apache.tinkerpop.shaded.jackson.core.JsonGenerator jsonGenerator) throws IOException
IOException
protected abstract Class getClassFromObject(Object o)
Copyright © 2013–2023 Apache Software Foundation. All rights reserved.