public JSONValue Parse() { this.cur = this.json[this.idx]; return this.ParseValue(); }
public static JSONValue SimpleParse(string jsondata) { JSONParser jsonParser = new JSONParser(jsondata); try { return jsonParser.Parse(); } catch (JSONParseException ex) { Debug.LogError((object) ex.Message); } return new JSONValue((object) null); }