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