public class JSONKit extends Object
| 构造器和说明 |
|---|
JSONKit() |
| 限定符和类型 | 方法和说明 |
|---|---|
static <T> T |
parse(JSONObject jsonObject,
Class<T> type) |
static JSONValue |
parse(String json) |
static <T> String |
toJSONString(List<T> list) |
static <K,V> String |
toJSONString(Map<K,V> map) |
static String |
toJSONString(Object bean) |
static <V> Map<String,V> |
toMap(JSONObject jsonObject) |
static <V> Map<String,V> |
toMap(String json) |
public static <V> Map<String,V> toMap(JSONObject jsonObject)
public static <T> T parse(JSONObject jsonObject, Class<T> type)
Copyright © 2016. All rights reserved.