forked fromdouglascrockford/JSON-js
- Notifications
You must be signed in to change notification settings - Fork0
JSON in JavaScript
NotificationsYou must be signed in to change notification settings
rskumar/JSON-js
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
JSON in JavaScriptDouglas Crockforddouglas@crockford.com2010-11-18JSON is a light-weight, language independent, data interchange format.Seehttp://www.JSON.org/The files in this collection implement JSON encoders/decoders in JavaScript.JSON became a built-in feature of JavaScript when the ECMAScript ProgrammingLanguage Standard - Fifth Edition was adopted by the ECMA General Assemblyin December 2009. Most of the files in this collection are for applicationsthat are expected to run in obsolete web browsers. For most purposes, json2.jsis the best choice.json2.js: This file creates a JSON property in the global object, if thereisn't already one, setting its value to an object containing a stringifymethod and a parse method. The parse method uses the eval method to do theparsing, guarding it with several regular expressions to defend againstaccidental code execution hazards. On current browsers, this file does nothing,prefering the built-in JSON object.json.js: This file does everything that json2.js does. It also adds atoJSONString method and a parseJSON method to Object.prototype. Use of thisfile is not recommended.json_parse.js: This file contains an alternative JSON parse function thatuses recursive descent instead of eval.json_parse_state.js: This files contains an alternative JSON parse function thatuses a state machine instead of eval.cycle.js: This file contains two functions, JSON.decycle and JSON.retrocycle,which make it possible to encode cyclical structures and dags in JSON, and tothen recover them. JSONPath is used to represent the links.http://GOESSNER.net/articles/JsonPath/
About
JSON in JavaScript
Resources
Uh oh!
There was an error while loading.Please reload this page.
Stars
Watchers
Forks
Releases
No releases published
Packages0
No packages published