Package com.aspose.cad.cloud.invoker
Class JSON
- java.lang.Object
-
- com.aspose.cad.cloud.invoker.JSON
-
public class JSON extends Object
JSON helper class.
-
-
Constructor Summary
Constructors Constructor Description JSON()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static <T> T
deserialize(String json, Class<T> type)
static String
serialize(Object object)
-
-
-
Method Detail
-
serialize
public static String serialize(Object object) throws com.fasterxml.jackson.core.JsonProcessingException
- Throws:
com.fasterxml.jackson.core.JsonProcessingException
-
deserialize
public static <T> T deserialize(String json, Class<T> type) throws com.fasterxml.jackson.core.JsonParseException, com.fasterxml.jackson.databind.JsonMappingException, IOException
- Throws:
com.fasterxml.jackson.core.JsonParseException
com.fasterxml.jackson.databind.JsonMappingException
IOException
-
-