public class ValueReferenceTypeIdResolver
extends com.fasterxml.jackson.databind.jsontype.impl.TypeIdResolverBase
| Modifier | Constructor and Description |
|---|---|
protected |
ValueReferenceTypeIdResolver(com.fasterxml.jackson.databind.JavaType baseType,
com.fasterxml.jackson.databind.type.TypeFactory typeFactory,
Collection<com.fasterxml.jackson.databind.jsontype.NamedType> subtypes) |
| Modifier and Type | Method and Description |
|---|---|
com.fasterxml.jackson.annotation.JsonTypeInfo.Id |
getMechanism() |
String |
idFromValue(Object value) |
String |
idFromValueAndType(Object value,
Class<?> suggestedType) |
com.fasterxml.jackson.databind.JavaType |
typeFromId(com.fasterxml.jackson.databind.DatabindContext context,
String id) |
protected ValueReferenceTypeIdResolver(com.fasterxml.jackson.databind.JavaType baseType,
com.fasterxml.jackson.databind.type.TypeFactory typeFactory,
Collection<com.fasterxml.jackson.databind.jsontype.NamedType> subtypes)
public com.fasterxml.jackson.annotation.JsonTypeInfo.Id getMechanism()
public com.fasterxml.jackson.databind.JavaType typeFromId(com.fasterxml.jackson.databind.DatabindContext context,
String id)
throws IOException
typeFromId in interface com.fasterxml.jackson.databind.jsontype.TypeIdResolvertypeFromId in class com.fasterxml.jackson.databind.jsontype.impl.TypeIdResolverBaseIOExceptionCopyright © 2012–2021 Graylog, Inc.. All rights reserved.