Package com.aispect.common.util
Class JsonUtils
java.lang.Object
com.aispect.common.util.JsonUtils
based on Jackson of JSON Serialization and deserialization tool classes.
-
Method Summary
Modifier and TypeMethodDescriptionstatic <T> TparseObject(String json, Class<T> clazz) Will JSON Deserializes the string into the specified object type.static StringtoJsonString(Object obj) Serialize the object to JSON string.
-
Method Details
-
toJsonString
Serialize the object to JSON string. -
parseObject
Will JSON Deserializes the string into the specified object type.
-