OLD | NEW |
1 /* | 1 /* |
2 http://www.JSON.org/json2.js | 2 http://www.JSON.org/json2.js |
3 2009-09-29 | 3 2009-09-29 |
4 | 4 |
5 Public Domain. | 5 Public Domain. |
6 | 6 |
7 NO WARRANTY EXPRESSED OR IMPLIED. USE AT YOUR OWN RISK. | 7 NO WARRANTY EXPRESSED OR IMPLIED. USE AT YOUR OWN RISK. |
8 | 8 |
9 See http://www.JSON.org/js.html | 9 See http://www.JSON.org/js.html |
10 | 10 |
(...skipping 461 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
472 return typeof reviver === 'function' ? | 472 return typeof reviver === 'function' ? |
473 walk({'': j}, '') : j; | 473 walk({'': j}, '') : j; |
474 } | 474 } |
475 | 475 |
476 // If the text is not JSON parseable, then a SyntaxError is thrown. | 476 // If the text is not JSON parseable, then a SyntaxError is thrown. |
477 | 477 |
478 throw new SyntaxError('JSON.parse'); | 478 throw new SyntaxError('JSON.parse'); |
479 }; | 479 }; |
480 } | 480 } |
481 }()); | 481 }()); |
OLD | NEW |