public class JsonUtil extends Object
| Modifier and Type | Method and Description |
|---|---|
static com.fasterxml.jackson.databind.ObjectMapper |
getObjectMapper() |
static boolean |
isValidJson(String json) |
static <T> T |
json2GenericObject(String jsonString,
com.fasterxml.jackson.core.type.TypeReference<T> tr) |
static Object |
json2Object(String jsonString,
Class<?> c) |
static String |
toJson(Object object) |
Copyright © 2018. All rights reserved.