public class KernelTypeResolver extends Object implements com.fasterxml.jackson.databind.jsontype.TypeIdResolver
TypeIdResolver
which will be used by Jackson library during
the serialization in JSON and deserialization of Kernel
sConstructor and Description |
---|
KernelTypeResolver() |
Modifier and Type | Method and Description |
---|---|
com.fasterxml.jackson.annotation.JsonTypeInfo.Id |
getMechanism() |
String |
idFromBaseType() |
String |
idFromValue(Object obj) |
String |
idFromValueAndType(Object arg0,
Class<?> arg1) |
void |
init(com.fasterxml.jackson.databind.JavaType arg0) |
com.fasterxml.jackson.databind.JavaType |
typeFromId(String arg0) |
public com.fasterxml.jackson.annotation.JsonTypeInfo.Id getMechanism()
getMechanism
in interface com.fasterxml.jackson.databind.jsontype.TypeIdResolver
public String idFromBaseType()
idFromBaseType
in interface com.fasterxml.jackson.databind.jsontype.TypeIdResolver
public String idFromValue(Object obj)
idFromValue
in interface com.fasterxml.jackson.databind.jsontype.TypeIdResolver
public void init(com.fasterxml.jackson.databind.JavaType arg0)
init
in interface com.fasterxml.jackson.databind.jsontype.TypeIdResolver
public com.fasterxml.jackson.databind.JavaType typeFromId(String arg0)
typeFromId
in interface com.fasterxml.jackson.databind.jsontype.TypeIdResolver
Copyright © 2018 Semantic Analytics Group @ Uniroma2. All rights reserved.