Example #1
0
 /// <summary>
 /// 序列化JSONArray对象
 /// </summary>
 /// <param name="text"></param>
 /// <returns></returns>
 public static JSONArray DeserializeArray(string text)
 {
     _json = new JSONObject();
     return(_json[Deserialize(text)] as JSONArray);
 }
Example #2
0
 /// <summary>
 /// 序列化JSONObject对象
 /// </summary>
 /// <param name="text"></param>
 /// <returns></returns>
 public static JSONObject DeserializeObject(string text)
 {
     _json = new JSONObject();
     return(_json[Deserialize(text)] as JSONObject);
 }