public class JsonHelper extends Object
| 限定符和类型 | 字段和说明 |
|---|---|
static int |
ArrayJson
The constant ArrayJson.
|
static int |
Error
The constant Error.
|
static int |
Number
The constant Number.
|
static int |
ObjectJson
The constant ObjectJson.
|
static int |
phpArray
The constant phpArray.
|
static int |
Str
The constant Str.
|
| 构造器和说明 |
|---|
JsonHelper() |
| 限定符和类型 | 方法和说明 |
|---|---|
static boolean |
BooleanJudgeStringJson(String str)
简单判断是否是json格式的字符串
|
static String |
decodeUnicode(String theString)
Decode unicode string.
|
static Map<String,Object> |
getJsonMapString(String jsonStr)
Get json object string map.
|
static Object |
getObject(String str)
Gets object.
|
static int |
JudgeStringJson(String strJson)
简单判断是否是json格式的字符串
|
public static final int Error
public static final int ObjectJson
public static final int ArrayJson
public static final int Number
public static final int Str
public static final int phpArray
public static int JudgeStringJson(String strJson)
strJson - the str jsonpublic static boolean BooleanJudgeStringJson(String str)
str - the strpublic static Map<String,Object> getJsonMapString(String jsonStr)
jsonStr - the json strCopyright © 2016. All rights reserved.