public class JsonUtil extends Object
| Constructor and Description |
|---|
JsonUtil() |
| Modifier and Type | Method and Description |
|---|---|
static <T> T |
fromJson(Reader json,
Type t) |
static <T> T |
fromJson(String json,
Class<T> clazz) |
static <T> T |
fromJson(String json,
Type t) |
static <T> T |
fromJsonToMap(Reader json,
Type type) |
static Map<String,String> |
fromJsonToMap(String json)
TODO 优化
|
static String |
toJson(Object obj) |
public static Map<String,String> fromJsonToMap(String json) throws IOException
json - IOExceptionCopyright © 2017. All rights reserved.