Interface JsonMapping
-
- All Known Implementing Classes:
JacksonMapping,JsonBMapping
public interface JsonMappingInterface to abstract json serialization to/from string.
-
-
Field Summary
Fields Modifier and Type Field Description static intDEFAULT_PRIORITYDefault priority of corresponding provider.
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description <T> TfromJson(String str, Class<T> type)Deserialize an object from it's JSON string representation.StringtoJson(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
-
-