JSON(JavaScript Object Notation) is a lightweight data exchange format. Easy to read and write. It is also easy to parse and generate machines. It is based on a subset of JavaScript programming language, standard ECMA-262 3rd edition-December 1999. JSON uses a completely language-independent text format, but it also uses a habit similar to the C language family (including C, C ++, C #, Java, JavaScript, Perl, Python, and so on ). These features make JSON an ideal data exchange language.
JSON is constructed in two structures:
- A collection of name/value pairs ). In different languages, it is understoodObject), Record, structure (struct), Dictionary, hash table, keyed list, or associative array ).
- An ordered list of values ). In most languages, it is understood as an array ).
These are common data structures. In fact, most modern computer languages support them in some form. This makes a data format based on these structuresProgramming LanguageExchange between them becomes possible.
JSON has the following forms:
An object is an unordered set of 'name/value' pairs. An object starts with "{" (left parenthesis) and ends with "}" (right Parenthesis. Each "name" is followed by a ":" (colon); "," (comma) is used to separate the "name/value" pairs.
An array is an ordered set of values. An array starts with "[" (left square brackets) and ends with "]" (right square brackets. Values are separated by commas.
Value (Value) Can be a string enclosed by double quotation marks (String), Value (number ),True
,False
,Null
Object or array ). These structures can be nested.
String (StringIs a set of any number of Unicode characters enclosed by double quotation marks, which are escaped using a backslash. A character (character) is a separate string (character string ).
String (String) Is very similar to a C or Java string.
Value (Number) Is also very similar to the values in C or Java. Remove unused octal and hexadecimal formats. Except for some encoding details.
Spaces can be added to any symbol. The complete language is described below.
-
- ASP:
- JSON for ASP.
- Json asp Utility Class.
-
- ActionScript:
- Actionscript3.
- Jsonconnector.
-
- Bash:
-
- Blitzmax:
- C:
- Json_checker.
- M's JSON parser.
- Yajl.
- Cjson.
- Jansson.
- Js0n.
- Libu.
- Jsmn.
- Cson.
- JSON-C.
- JSON-parser.
-
- C ++:
- Jsoncpp.
- Zoolib.
- Jost.
- Cajun.
- Libjson.
- Nosjob.
- Jsonkit.
- Jsonme --.
- Thorsserializer.
- Jsonbox.
- Rapidjson.
-
- C #:
- Fastjson.
- Json_checker.
- Jayrock.
- JSON. Net-LINQ to JSON.
- Litjson.
- JSON for. net.
- Jsonfx.
- JSON @ codetitans
- How do I write my own parser?
- Jsonsharp.
- Jsonexserializer.
- Fluent-JSON
-
- Clojure:
- Clojure-JSON.
- API for JSON.
- COBOL:
-
- ColdFusion:
-
- D:
-
- Delphi:
- Delphi web utils.
- JSON Delphi library.
- JSON toolkit.
- Tiny-JSON.
-
- E:
-
- Erlang:
-
- Fantom:
-
- Go:
-
- Haskell:
- Rjson package.
- JSON package.
-
- Haxe:
- Java:
- Org. JSON.
- Org. JSON. Me.
- Jackson JSON processor.
- JSON-lib.
- JSON tools.
- Stringtree.
- Sojo.
- Jettison.
- JSON-taglib.
- Xstream.
- Flexjson.
- Jon tools.
- Argo.
- Jsonij.
- Fastjson.
- Mjson.
- Jjson.
- JSON-simple.
- JSON-Io.
- Jsonmarshaller.
- Google-gson.
- JSON-smart.
-
- Javascript:
- Json2.js.
- Json_sans_eval.
- Clarinet.
-
- LISP:
- Common Lisp JSON.
- Yason.
- Emacs lisp.
-
- LotusScript:
- Lua:
- Json4lua.
- Luajson.
- Luajson C library.
- Fleece.
- Lua cjson.
- Dkjson.
-
- MATLAB:
- Jsonlab.
- JSON parser.
- (Another) JSON parser.
-
- Objective C:
- JSON-framework.
- Mtjson.
- Jsonkit.
- Yajl-objc.
- Touchjson.
-
- Objective caml:
-
- Openlaszlo:
-
- Perl:
-
- PHP:
- PHP 5.2.
- JSON.
- Services_json.
- Zend_json.
- Solar_json.
- Comparison of php json libraries.
-
- Pike:
- Public. parser. JSON.
- Public. parser. json2.
- PL/SQL:
-
- Powershell:
-
- PROLOG:
-
- Puredata:
-
- Python:
- The Python standard library.
- Simplejson.
- Pyson.
- Yajl-py.
- Ultrajson.
-
- Qt:
-
- R:
-
- Racket:
-
- REBOL:
-
- RPG:
-
- Ruby:
- JSON.
- Yajl-Ruby.
- JSON-stream.
-
- Scheme:
- Squeak:
-
- Symbian:
-
- TCL:
-
- Visual Basic:
-
- Visual FoxPro:
- RFC 4627 application/JSON.
- The fat-free alternative to XML
- The JSON group on Yahoo!
- Yahoo! JSON
- Google data
- Jslint, syntax checker.
- Jsonlint, The JSON validator.
- JSON shell for the browser
- JSON formatter
- JSON designer
- JSON Editor
- JSON parser
- Jsont.
- Jsonpath.
- Jsonselect.
- Draft JSON schema.
- JSON-template.
- Jpath.
- Jaql.
- Itemscript.
- Jspon.
- Jsonml.
- Bson.
- Rson.
- Couchdb.
- MongoDB.
- Dbslayer.
- Metaweb query language.
- Chaidb.
- Persevere.
- Fleetdb.
- Orientdb.
- Terrastore.
- Mljson.
- JSON-RPC.
- Jabsorb.
- Simple remoting.
- XSLT and XPath for JSON.
- Xml2json-xslt.
- Jsontjson.
- X-xml2jsonphp.
- Pure.
- Csv2json.
Address: http://www.json.org/json-zh.html