public class DataEntryTypeResolver
extends com.fasterxml.jackson.databind.jsontype.impl.TypeIdResolverBase
Constructor and Description |
---|
DataEntryTypeResolver() |
Modifier and Type | Method and Description |
---|---|
com.fasterxml.jackson.annotation.JsonTypeInfo.Id |
getMechanism() |
String |
idFromValue(Object o) |
String |
idFromValueAndType(Object o,
Class<?> aClass) |
com.fasterxml.jackson.databind.JavaType |
typeFromId(com.fasterxml.jackson.databind.DatabindContext context,
String id) |
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.TypeIdResolver
typeFromId
in class com.fasterxml.jackson.databind.jsontype.impl.TypeIdResolverBase
IOException
Copyright © 2019. All rights reserved.