public interface JsonObjectMapper
Modifier and Type | Method and Description |
---|---|
<T> T |
fromJson(java.lang.String value,
java.lang.Class<T> valueType)
Perform deserialization from JSON format string to the given type object as argument.
|
java.lang.String |
toJson(java.lang.Object value)
Perform serialization from object to JSON format string.
|
<T> T fromJson(java.lang.String value, java.lang.Class<T> valueType)
T
- the type object to convertvalue
- the JSON formatvalueType
- the object type to convertjava.lang.String toJson(java.lang.Object value)
value
- the object to convertCopyright © 2023. All rights reserved.