Package com.skava.marketplace.util
Class ObjectMapperUtil
java.lang.Object
com.skava.marketplace.util.ObjectMapperUtil
-
Method Summary
Modifier and TypeMethodDescriptionstatic <T> String
convertObjectToString
(T object) static <T> List<T>
convertToListOfObjectWithOutException
(String json, Class<T> clazz) static <T> T
convertToObject
(String json, Class<T> clazz) static <T> T
convertToObjectWithOutException
(String json, Class<T> clazz) static com.fasterxml.jackson.databind.ObjectMapper
-
Method Details
-
getInstance
public static com.fasterxml.jackson.databind.ObjectMapper getInstance() -
convertToObject
- Throws:
IOException
-
convertToObjectWithOutException
-
convertToListOfObjectWithOutException
-
convertObjectToString
-