public final class JsonConverter<T> extends Object implements AttributeConverter<T>
Constructor and Description |
---|
JsonConverter(Class<T> clazz) |
JsonConverter(Class<T> clazz,
com.fasterxml.jackson.core.type.TypeReference<T> typeReference) |
Modifier and Type | Method and Description |
---|---|
T |
convert(Object attribute)
Convert an attribute to a specific type T.
|
public T convert(Object attribute)
AttributeConverter
convert
in interface AttributeConverter<T>
attribute
- attributeCopyright © 2018. All rights reserved.