public class JsonUtils extends Object
| 构造器和说明 |
|---|
JsonUtils() |
| 限定符和类型 | 方法和说明 |
|---|---|
static double |
getDouble(String json,
String key,
double defaultVal) |
static int |
getInt(String json,
String key,
int defaultVal) |
static Integer |
getInteger(String json,
String key,
Integer defaultVal) |
static com.alibaba.fastjson.JSONObject |
getJSONObject(String json) |
static Long |
getLong(String json,
String key,
Long defaultVal) |
static String |
getString(String json,
String key,
String defaultVal) |
public static com.alibaba.fastjson.JSONObject getJSONObject(String json)
Copyright © 2017. All rights reserved.