Class JsonTypeAndClassSerializer
- java.lang.Object
-
- com.fasterxml.jackson.databind.jsontype.TypeSerializer
-
- com.fasterxml.jackson.databind.jsontype.impl.TypeSerializerBase
-
- com.fasterxml.jackson.databind.jsontype.impl.AsArrayTypeSerializer
-
- com.fasterxml.jackson.databind.jsontype.impl.AsPropertyTypeSerializer
-
- ch.systemsx.cisd.openbis.common.api.server.json.deserializer.JsonTypeAndClassSerializer
-
public class JsonTypeAndClassSerializer extends com.fasterxml.jackson.databind.jsontype.impl.AsPropertyTypeSerializer
-
-
Constructor Summary
Constructors Constructor Description JsonTypeAndClassSerializer(com.fasterxml.jackson.databind.jsontype.TypeIdResolver idRes, com.fasterxml.jackson.databind.BeanProperty property, java.lang.String propName)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description JsonTypeAndClassSerializer
forProperty(com.fasterxml.jackson.databind.BeanProperty prop)
com.fasterxml.jackson.core.type.WritableTypeId
writeTypePrefix(com.fasterxml.jackson.core.JsonGenerator g, com.fasterxml.jackson.core.type.WritableTypeId idMetadata)
com.fasterxml.jackson.core.type.WritableTypeId
writeTypeSuffix(com.fasterxml.jackson.core.JsonGenerator g, com.fasterxml.jackson.core.type.WritableTypeId idMetadata)
-
Methods inherited from class com.fasterxml.jackson.databind.jsontype.impl.AsPropertyTypeSerializer
getPropertyName, getTypeInclusion
-
Methods inherited from class com.fasterxml.jackson.databind.jsontype.impl.TypeSerializerBase
_generateTypeId, getTypeIdResolver, handleMissingId, idFromValue, idFromValueAndType
-
Methods inherited from class com.fasterxml.jackson.databind.jsontype.TypeSerializer
_writeLegacySuffix, typeId, typeId, typeId, writeCustomTypePrefixForArray, writeCustomTypePrefixForObject, writeCustomTypePrefixForScalar, writeCustomTypeSuffixForArray, writeCustomTypeSuffixForObject, writeCustomTypeSuffixForScalar, writeTypePrefixForArray, writeTypePrefixForArray, writeTypePrefixForObject, writeTypePrefixForObject, writeTypePrefixForScalar, writeTypePrefixForScalar, writeTypeSuffixForArray, writeTypeSuffixForObject, writeTypeSuffixForScalar
-
-
-
-
Method Detail
-
forProperty
public JsonTypeAndClassSerializer forProperty(com.fasterxml.jackson.databind.BeanProperty prop)
- Overrides:
forProperty
in classcom.fasterxml.jackson.databind.jsontype.impl.AsPropertyTypeSerializer
-
writeTypePrefix
public com.fasterxml.jackson.core.type.WritableTypeId writeTypePrefix(com.fasterxml.jackson.core.JsonGenerator g, com.fasterxml.jackson.core.type.WritableTypeId idMetadata) throws java.io.IOException
- Overrides:
writeTypePrefix
in classcom.fasterxml.jackson.databind.jsontype.impl.TypeSerializerBase
- Throws:
java.io.IOException
-
writeTypeSuffix
public com.fasterxml.jackson.core.type.WritableTypeId writeTypeSuffix(com.fasterxml.jackson.core.JsonGenerator g, com.fasterxml.jackson.core.type.WritableTypeId idMetadata) throws java.io.IOException
- Overrides:
writeTypeSuffix
in classcom.fasterxml.jackson.databind.jsontype.impl.TypeSerializerBase
- Throws:
java.io.IOException
-
-