public class JsonSerializer extends Object
Modifier and Type | Method and Description |
---|---|
static Object |
deserialize(String json)
Deserializing a json string to data object
|
static String |
serialize(Object object) |
public static String serialize(Object object) throws IllegalArgumentException
IllegalArgumentException
public static Object deserialize(String json) throws ParseException
json
- the json string which will be deserializedParseException
- thrown when parsing a illegal json textCopyright © 2017. All rights reserved.