Interface JsonMapping
-
- All Known Implementing Classes:
JacksonMapping
,JsonBMapping
public interface JsonMapping
Interface to abstract json serialization to/from string.
-
-
Field Summary
Fields Modifier and Type Field Description static int
DEFAULT_PRIORITY
Default priority of corresponding provider.
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description <T> T
fromJson(String str, Class<T> type)
Deserialize an object from it's JSON string representation.String
toJson(Object object)
Serialize an object to JSON.
-
-
-
Field Detail
-
DEFAULT_PRIORITY
static final int DEFAULT_PRIORITY
Default priority of corresponding provider.- Implementation Note:
- could be used to control the load/init order in case multiple providers are specified/included.
- See Also:
- Constant Field Values
-
-