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