Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

JSON in JavaScript

NotificationsYou must be signed in to change notification settings

rskumar/JSON-js

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 

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

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

[8]ページ先頭

©2009-2025 Movatter.jp