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.
|
String |
idFromValue(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, typeFromIdidFromBaseType, initpublic static MinimalClassNameIdResolver construct(JavaType baseType, MapperConfig<?> config, PolymorphicTypeValidator ptv)
public JsonTypeInfo.Id getMechanism()
TypeIdResolvergetMechanism in interface TypeIdResolvergetMechanism in class ClassNameIdResolverpublic String idFromValue(Object value)
TypeIdResolveridFromValue in interface TypeIdResolveridFromValue in class ClassNameIdResolverCopyright © 2010 - 2020 Adobe. All Rights Reserved