HomeSort by relevance Sort by last modified time
    Searched refs:JSONTokener (Results 1 - 25 of 42) sorted by null

1 2

  /libcore/json/src/test/java/org/json/
JSONTokenerTest.java 28 // JSONTokener accepts null, only to fail later on almost all APIs!
29 new JSONTokener(null).back();
32 new JSONTokener(null).more();
38 new JSONTokener(null).next();
44 new JSONTokener(null).next(3);
50 new JSONTokener(null).next('A');
56 new JSONTokener(null).nextClean();
62 new JSONTokener(null).nextString('"');
68 new JSONTokener(null).nextTo('A');
74 new JSONTokener(null).nextTo("ABC")
    [all...]
ParsingTest.java 31 new JSONTokener("").nextValue();
212 new JSONTokener(malformedJson).nextValue();
233 Object actual = new JSONTokener(json).nextValue();
SelfUseTest.java 112 private final JSONTokener tokener = new JSONTokener("{\"foo\": [true]}") {
JSONArrayTest.java 443 JSONArray object = new JSONArray(new JSONTokener("[false]"));
450 new JSONArray(new JSONTokener("{\"foo\": false}"));
458 new JSONArray((JSONTokener) null);
466 new JSONArray(new JSONTokener("["));
JSONObjectTest.java 689 JSONObject object = new JSONObject(new JSONTokener("{\"foo\": false}"));
696 new JSONObject(new JSONTokener("[\"foo\", false]"));
704 new JSONObject((JSONTokener) null);
712 new JSONObject(new JSONTokener("{"));
    [all...]
  /external/google-tv-pairing-protocol/java/src/com/google/polo/json/
CDL.java 51 * @param x A JSONTokener of the source text.
55 private static String getValue(JSONTokener x) throws JSONException {
77 * @param x A JSONTokener of the source text.
81 public static JSONArray rowToJSONArray(JSONTokener x) throws JSONException {
111 * @param x A JSONTokener of the source text.
115 public static JSONObject rowToJSONObject(JSONArray names, JSONTokener x)
129 return toJSONArray(new JSONTokener(string));
135 * @param x The JSONTokener containing the comma delimited text.
139 public static JSONArray toJSONArray(JSONTokener x) throws JSONException {
153 return toJSONArray(names, new JSONTokener(string))
    [all...]
HTTPTokener.java 28 * The HTTPTokener extends the JSONTokener to provide additional methods
33 public class HTTPTokener extends JSONTokener {
Cookie.java 85 JSONTokener x = new JSONTokener(string);
158 int d = JSONTokener.dehexchar(s.charAt(i + 1));
159 int e = JSONTokener.dehexchar(s.charAt(i + 2));
CookieList.java 51 JSONTokener x = new JSONTokener(string);
JSONTokener.java 33 * A JSONTokener takes a source string and extracts characters and tokens from
39 public class JSONTokener {
48 * Construct a JSONTokener from a string.
52 public JSONTokener(Reader reader) {
61 * Construct a JSONTokener from a string.
65 public JSONTokener(String s) {
415 * Make a printable string of this JSONTokener.
XMLTokener.java 28 * The XMLTokener extends the JSONTokener to provide additional methods
33 public class XMLTokener extends JSONTokener {
JSONArray.java 100 * Construct a JSONArray from a JSONTokener.
101 * @param x A JSONTokener
104 public JSONArray(JSONTokener x) throws JSONException {
157 this(new JSONTokener(source));
JSONObject.java 169 * Construct a JSONObject from a JSONTokener.
170 * @param x A JSONTokener object containing the source string.
174 public JSONObject(JSONTokener x) throws JSONException {
420 this(new JSONTokener(source));
    [all...]
Test.java 358 JSONTokener jt = new JSONTokener("{op:'test', to:'session', pre:1}{op:'test', to:'session', pre:2}");
  /libcore/json/src/main/java/org/json/
JSONTokener.java 24 * this class will use only need the {@link #JSONTokener(String) constructor}
31 * JSONObject object = (JSONObject) new JSONTokener(json).nextValue();
62 public class JSONTokener {
78 public JSONTokener(String in) {
JSONArray.java 87 public JSONArray(JSONTokener readFrom) throws JSONException {
108 this(new JSONTokener(json));
JSONObject.java 151 public JSONObject(JSONTokener readFrom) throws JSONException {
173 this(new JSONTokener(json));
  /cts/common/host-side/util/src/com/android/compatibility/common/util/
DynamicConfigHandler.java 22 import org.json.JSONTokener;
60 JSONObject rootObj = new JSONObject(new JSONTokener(apbsConfigJson));
  /prebuilts/misc/common/json/
json-prebuilt.jar 
  /external/robolectric/v1/lib/main/
json-20080701.jar 
  /external/robolectric/v3/runtime/
json-20080701.jar 
  /prebuilts/tools/common/m2/repository/org/json/json/20080701/
json-20080701.jar 
  /packages/apps/Launcher3/src/com/android/launcher3/
InstallShortcutReceiver.java 41 import org.json.JSONTokener;
373 JSONObject object = (JSONObject) new JSONTokener(encoded).nextValue();
  /packages/apps/Launcher2/src/com/android/launcher2/
InstallShortcutReceiver.java 121 JSONObject object = (JSONObject) new JSONTokener(json).nextValue();
  /prebuilts/tools/common/m2/repository/net/sf/json-lib/json-lib/2.3/
json-lib-2.3-jdk15.jar 

Completed in 905 milliseconds

1 2