Class JsonUtils

java.lang.Object
com.aispect.common.util.JsonUtils

public final class JsonUtils extends Object
based on Jackson of JSON Serialization and deserialization tool classes.
  • Method Details

    • toJsonString

      public static String toJsonString(Object obj)
      Serialize the object to JSON string.
    • parseObject

      public static <T> T parseObject(String json, Class<T> clazz)
      Will JSON Deserializes the string into the specified object type.