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.TypeIdResolver
typeFromId
in class com.fasterxml.jackson.databind.jsontype.impl.TypeIdResolverBase
public com.fasterxml.jackson.annotation.JsonTypeInfo.Id getMechanism()
public void init(com.fasterxml.jackson.databind.JavaType baseType)
init
in interface com.fasterxml.jackson.databind.jsontype.TypeIdResolver
init
in class com.fasterxml.jackson.databind.jsontype.impl.TypeIdResolverBase
public String idFromBaseType()
idFromBaseType
in interface com.fasterxml.jackson.databind.jsontype.TypeIdResolver
idFromBaseType
in class com.fasterxml.jackson.databind.jsontype.impl.TypeIdResolverBase
Copyright © 2014-2015 FasterXML. All Rights Reserved.