• Home
  • Raw
  • Download

Lines Matching refs:parse

25     JSON.parse (str);
33 assert (JSON.parse (str) === null);
35 assert (JSON.parse (str) === true);
37 assert (JSON.parse (str) === false);
39 assert (JSON.parse (str) == -3250);
41 assert (JSON.parse (str) == "str");
43 assert (JSON.parse (str) === "\b\f\n\t\r");
46 assert (JSON.parse (str) === "\x00\x1f");
48 assert (JSON.parse (str) === "\ud801\udc00\ud801\udc00\ud801\udc00\ud801\udc00");
51 assert (JSON.parse (str) === "\ud801,\udc00,\ud801,\udc00,\ud801,\udc00,\ud801,\udc00");
70 result = JSON.parse (str);
90 result = JSON.parse (str);
111 assert (JSON.parse (null) == null);
112 assert (JSON.parse (true) == true);
113 assert (JSON.parse (3) == 3);
116 JSON.parse (undefined);
126 assert (JSON.parse (object) == false);
130 JSON.parse (object);
139 JSON.parse (array);
146 assert (JSON.parse (new Number (3)) == 3);
147 assert (JSON.parse (new Boolean (true)) == true);
150 result = JSON.parse (object);
165 JSON.parse (str, toStringReviver);
170 JSON.parse (str, toStringReviver);
177 JSON.parse (str, toStringReviver);
182 JSON.parse (str, toStringReviver);
187 JSON.parse (str, toStringReviver);
193 result = JSON.parse (str, function (k, v) {
217 result = JSON.parse (str, function (k, v) {
241 JSON.parse (str, function (k, v) {
267 JSON.parse (str, function (k, v) {
283 result = JSON.parse (str, function (k, v) {
309 result = JSON.parse (str, function (k, v) { throw new ReferenceError("error"); } );
320 JSON.parse (str, function (k, v) {
341 result = JSON.parse (str, 4);
344 result = JSON.parse (str, null);
347 result = JSON.parse (str, undefined);
350 result = JSON.parse (str, true);
353 result = JSON.parse (str, "foo");
360 result = JSON.parse(str, new Boolean (true));
363 result = JSON.parse(str, new String ("foo"));
366 result = JSON.parse(str, new Number (3));
369 result = JSON.parse(str, {"a": 2});
372 result = JSON.parse(str, [1, 2, 3]);