public class JsonSchemaIdResolver
extends com.fasterxml.jackson.databind.jsontype.impl.TypeIdResolverBase
| Constructor and Description |
|---|
JsonSchemaIdResolver() |
| Modifier and Type | Method and Description |
|---|---|
com.fasterxml.jackson.annotation.JsonTypeInfo.Id |
getMechanism() |
String |
idFromBaseType() |
String |
idFromValue(Object value) |
String |
idFromValueAndType(Object value,
Class<?> suggestedType) |
void |
init(com.fasterxml.jackson.databind.JavaType baseType) |
com.fasterxml.jackson.databind.JavaType |
typeFromId(com.fasterxml.jackson.databind.DatabindContext context,
String id) |
public com.fasterxml.jackson.databind.JavaType typeFromId(com.fasterxml.jackson.databind.DatabindContext context,
String id)
typeFromId in interface com.fasterxml.jackson.databind.jsontype.TypeIdResolvertypeFromId in class com.fasterxml.jackson.databind.jsontype.impl.TypeIdResolverBasepublic com.fasterxml.jackson.annotation.JsonTypeInfo.Id getMechanism()
public void init(com.fasterxml.jackson.databind.JavaType baseType)
init in interface com.fasterxml.jackson.databind.jsontype.TypeIdResolverinit in class com.fasterxml.jackson.databind.jsontype.impl.TypeIdResolverBasepublic String idFromBaseType()
idFromBaseType in interface com.fasterxml.jackson.databind.jsontype.TypeIdResolveridFromBaseType in class com.fasterxml.jackson.databind.jsontype.impl.TypeIdResolverBaseCopyright © 2014-2015 FasterXML. All Rights Reserved.