public class JsonSchemaIdResolver extends Object implements com.fasterxml.jackson.databind.jsontype.TypeIdResolver
| 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(String id) |
public String idFromValue(Object value)
idFromValue in interface com.fasterxml.jackson.databind.jsontype.TypeIdResolverpublic String idFromValueAndType(Object value, Class<?> suggestedType)
idFromValueAndType in interface com.fasterxml.jackson.databind.jsontype.TypeIdResolverpublic com.fasterxml.jackson.databind.JavaType typeFromId(String id)
typeFromId in interface com.fasterxml.jackson.databind.jsontype.TypeIdResolverpublic com.fasterxml.jackson.annotation.JsonTypeInfo.Id getMechanism()
getMechanism in interface com.fasterxml.jackson.databind.jsontype.TypeIdResolverpublic void init(com.fasterxml.jackson.databind.JavaType baseType)
init in interface com.fasterxml.jackson.databind.jsontype.TypeIdResolverpublic String idFromBaseType()
idFromBaseType in interface com.fasterxml.jackson.databind.jsontype.TypeIdResolverCopyright © 2014 FasterXML. All Rights Reserved.