public class MinimalClassNameIdResolver extends ClassNameIdResolver
Modifier and Type | Method and Description |
---|---|
static MinimalClassNameIdResolver |
construct(JavaType baseType,
MapperConfig<?> config,
PolymorphicTypeValidator ptv) |
JsonTypeInfo.Id |
getMechanism()
Accessor for mechanism that this resolver uses for determining
type id from type.
|
java.lang.String |
idFromValue(java.lang.Object value)
Method called to serialize type of the type of given value
as a String to include in serialized JSON content.
|
getDescForKnownTypeIds, idFromValueAndType, registerSubtype, typeFromId
idFromBaseType, init
public static MinimalClassNameIdResolver construct(JavaType baseType, MapperConfig<?> config, PolymorphicTypeValidator ptv)
public JsonTypeInfo.Id getMechanism()
TypeIdResolver
getMechanism
in interface TypeIdResolver
getMechanism
in class ClassNameIdResolver
public java.lang.String idFromValue(java.lang.Object value)
TypeIdResolver
idFromValue
in interface TypeIdResolver
idFromValue
in class ClassNameIdResolver
Copyright © 2010 - 2020 Adobe. All Rights Reserved