json
2016-05-05 09:23
841 查看
www.json.org
العربيةБългарски中文ČeskýDanskNederlandsEnglishEsperantoFrançaisDeutschΕλληνικάעבריתMagyarIndonesia
Italiano日本한국어فارسیPolskiPortuguêsRomânăРусскийСрпско-хрватскиSlovenščinaEspañolSvenskaTürkçeTiếng
Việt
[align=center]ECMA-404 The JSON Data Interchange Standard.[/align]
object{}
{ members } memberspair
pair , memberspairstring : valuearray[]
[ elements ]elementsvalue
value , elementsvaluestring
number
object
array
true
false
nullstring""
" chars "charschar
char charscharany-Unicode-character-
except-"-or-\-or-
control-character
\"
\\
\/
\b
\f
\n
\r
\t
\u four-hex-digits numberint
int frac
int exp
int frac exp intdigit
digit1-9 digits
- digit
- digit1-9 digits frac. digitsexpe digitsdigitsdigit
digit digitsee
e+
e-
E
E+
E-
JSON (JavaScript Object Notation) is a lightweight data-interchange format. It is easy for humans to read and write. It is easy for machines to parse and generate. It is based on a subset of the
JavaScript Programming Language,
Standard ECMA-262 3rd Edition - December 1999. JSON is a text format that is completely language independent but uses conventions that are familiar to programmers of the C-family of languages, including C, C++, C#, Java, JavaScript, Perl, Python, and many
others. These properties make JSON an ideal data-interchange language.
JSON is built on two structures:
A collection of name/value pairs. In various languages, this is realized as an
object, record, struct, dictionary, hash table, keyed list, or associative array.
An ordered list of values. In most languages, this is realized as an array, vector, list, or sequence.
These are universal data structures. Virtually all modernprogramming languages support them in one form or another. It makes sensethat a data format that is interchangeable with programming languages alsobe based on these structures.
In JSON, they take on these forms:
An object is an unordered set of name/value pairs. An object begins with
{ (left brace) and ends with } (right brace). Each name is followed by
: (colon) and the name/value pairs are separated by , (comma).
An array is an ordered collection of values. An array begins with
[ (left bracket) and ends with ] (right bracket). Values are separated by
, (comma).
A value can be a string in double quotes, or a number, or
true or false or null, or an object or an
array. These structures can be nested.
A string is a sequence of zero or more Unicode characters, wrapped in double quotes, using backslash escapes. A character is represented as a single character string. A string is very much like a C or Java string.
A number is very much like a C or Java number, except that the octal and hexadecimal formats are not used.
Whitespace can be inserted between any pair of tokens. Excepting a few encoding details, that completely describes the language.
ABAP:
EPO Connector.
ActionScript:
ActionScript3.
JSONConnector.
Ada:
GNATCOLL.JSON.
AdvPL:
JSON-ADVPL.
ASP:
JSON for ASP.
JSON ASP utility class.
AWK:
JSON.awk.
rhawk.
Bash:
Jshon.
JSON.sh.
BlitzMax:
bmx-rjson.
C:
JSON_checker.
YAJL.
js0n.
LibU.
json-c.
json-parser.
jsonsl.
WJElement.
M's JSON parser.
cJSON.
Jansson.
jsmn.
cson.
parson.
ujson4c.
nxjson.
frozen.
microjson.
C++:
JSONKit.
jsonme--.
ThorsSerializer.
JsonBox.
jvar.
rapidjson.
jsoncons.
json.
JSON Support in Qt.
QJson.
qmjson.
jsoncpp.
zoolib.
JOST.
CAJUN.
libjson.
nosjob.
JSON++.
SuperEasyJSON.
Casablanca.
JSON library for IoT.
minijson.
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.
Manatee Json.
FastJsonParser.
Ciao:
Ciao JSON encoder and decoder.
Clojure:
data.json.
Cobol:
XML Thunder.
ColdFusion:
SerializeJSON.
toJSON.
D:
Cashew.
Libdjson.
Dart:
json library.
Delphi:
Delphi Web Utils.
JSON Delphi Library.
tiny-json.
E:
JSON in TermL.
Erlang:
mochijson2.
Fantom:
Json.
FileMaker:
JSON.
Fortran:
json-fortran.
YAJL-Fort.
Go:
package json.
Groovy:
groovy-io.
Haskell:
RJson package.
json package.
Java:
JSON-java.
JSONUtil.
Jackson JSON Processor.
jsonp.
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.
FOSS Nova JSON.
Corn CONVERTER.
Apache johnzon.
Genson.
JavaScript:
JSON.
json2.js.
clarinet.
Oboe.js.
LabVIEW:
flatten.
Lisp:
Common Lisp JSON.
Yason.
Emacs Lisp.
LiveCode:
mergJSON.
LotusScript:
JSON LS.
LPC:
Grimoire: LPC JSON.
Lua:
JSON Modules.
M:
DataBallet.
Matlab:
JSONlab.
20565.
23393.
Net.Data:
netdata-json.
Objective C:
NSJSONSerialization.
json-framework.
JSONKit.
yajl-objc.
TouchJSON.
ObjFW.
OCaml:
Yojson.
jsonm.
OpenLaszlo:
JSON.
PascalScript:
JsonParser.
Perl:
CPAN.
perl-JSON-SL.
Photoshop:
JSON Photoshop Scripting.
PHP:
PHP 5.2.
json.
Services_JSON.
Zend_JSON.
Comparison of php json libraries.
PicoLisp:
picolisp-json.
Pike:
Public.Parser.JSON.
Public.Parser.JSON2.
PL/SQL:
pljson:
Librairie-JSON.
PowerShell:
PowerShell.
Prolog:
SWI-Prolog HTTP support.
Puredata:
PuRestJson.
Python:
The Python Standard Library.
simplejson.
pyson.
Yajl-Py.
ultrajson.
metamagic.json.
R:
rjson.
jsonlite.
Racket:
json-parsing.
Rebol:
json.r.
RPG:
JSON Utilities.
Ruby:
json.
yajl-ruby.
json-stream.
yajl-ffi.
Scala:
package json.
Scheme:
MZScheme.
PLT Scheme.
Squeak:
Squeak.
Symbian:
s60-json-library.
Tcl:
JSON.
Visual Basic:
VB-JSON.
PW.JSON.
Visual FoxPro:
fwJSON.
JSON.
vfpjson.
Introducing JSON |
Italiano日本한국어فارسیPolskiPortuguêsRomânăРусскийСрпско-хрватскиSlovenščinaEspañolSvenskaTürkçeTiếng
Việt
[align=center]ECMA-404 The JSON Data Interchange Standard.[/align]
object{}
{ members } memberspair
pair , memberspairstring : valuearray[]
[ elements ]elementsvalue
value , elementsvaluestring
number
object
array
true
false
nullstring""
" chars "charschar
char charscharany-Unicode-character-
except-"-or-\-or-
control-character
\"
\\
\/
\b
\f
\n
\r
\t
\u four-hex-digits numberint
int frac
int exp
int frac exp intdigit
digit1-9 digits
- digit
- digit1-9 digits frac. digitsexpe digitsdigitsdigit
digit digitsee
e+
e-
E
E+
E-
JSON (JavaScript Object Notation) is a lightweight data-interchange format. It is easy for humans to read and write. It is easy for machines to parse and generate. It is based on a subset of the
JavaScript Programming Language,
Standard ECMA-262 3rd Edition - December 1999. JSON is a text format that is completely language independent but uses conventions that are familiar to programmers of the C-family of languages, including C, C++, C#, Java, JavaScript, Perl, Python, and many
others. These properties make JSON an ideal data-interchange language.
JSON is built on two structures:
A collection of name/value pairs. In various languages, this is realized as an
object, record, struct, dictionary, hash table, keyed list, or associative array.
An ordered list of values. In most languages, this is realized as an array, vector, list, or sequence.
These are universal data structures. Virtually all modernprogramming languages support them in one form or another. It makes sensethat a data format that is interchangeable with programming languages alsobe based on these structures.
In JSON, they take on these forms:
An object is an unordered set of name/value pairs. An object begins with
{ (left brace) and ends with } (right brace). Each name is followed by
: (colon) and the name/value pairs are separated by , (comma).
An array is an ordered collection of values. An array begins with
[ (left bracket) and ends with ] (right bracket). Values are separated by
, (comma).
A value can be a string in double quotes, or a number, or
true or false or null, or an object or an
array. These structures can be nested.
A string is a sequence of zero or more Unicode characters, wrapped in double quotes, using backslash escapes. A character is represented as a single character string. A string is very much like a C or Java string.
A number is very much like a C or Java number, except that the octal and hexadecimal formats are not used.
Whitespace can be inserted between any pair of tokens. Excepting a few encoding details, that completely describes the language.
ABAP:
EPO Connector.
ActionScript:
ActionScript3.
JSONConnector.
Ada:
GNATCOLL.JSON.
AdvPL:
JSON-ADVPL.
ASP:
JSON for ASP.
JSON ASP utility class.
AWK:
JSON.awk.
rhawk.
Bash:
Jshon.
JSON.sh.
BlitzMax:
bmx-rjson.
C:
JSON_checker.
YAJL.
js0n.
LibU.
json-c.
json-parser.
jsonsl.
WJElement.
M's JSON parser.
cJSON.
Jansson.
jsmn.
cson.
parson.
ujson4c.
nxjson.
frozen.
microjson.
C++:
JSONKit.
jsonme--.
ThorsSerializer.
JsonBox.
jvar.
rapidjson.
jsoncons.
json.
JSON Support in Qt.
QJson.
qmjson.
jsoncpp.
zoolib.
JOST.
CAJUN.
libjson.
nosjob.
JSON++.
SuperEasyJSON.
Casablanca.
JSON library for IoT.
minijson.
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.
Manatee Json.
FastJsonParser.
Ciao:
Ciao JSON encoder and decoder.
Clojure:
data.json.
Cobol:
XML Thunder.
ColdFusion:
SerializeJSON.
toJSON.
D:
Cashew.
Libdjson.
Dart:
json library.
Delphi:
Delphi Web Utils.
JSON Delphi Library.
tiny-json.
E:
JSON in TermL.
Erlang:
mochijson2.
Fantom:
Json.
FileMaker:
JSON.
Fortran:
json-fortran.
YAJL-Fort.
Go:
package json.
Groovy:
groovy-io.
Haskell:
RJson package.
json package.
Java:
JSON-java.
JSONUtil.
Jackson JSON Processor.
jsonp.
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.
FOSS Nova JSON.
Corn CONVERTER.
Apache johnzon.
Genson.
JavaScript:
JSON.
json2.js.
clarinet.
Oboe.js.
LabVIEW:
flatten.
Lisp:
Common Lisp JSON.
Yason.
Emacs Lisp.
LiveCode:
mergJSON.
LotusScript:
JSON LS.
LPC:
Grimoire: LPC JSON.
Lua:
JSON Modules.
M:
DataBallet.
Matlab:
JSONlab.
20565.
23393.
Net.Data:
netdata-json.
Objective C:
NSJSONSerialization.
json-framework.
JSONKit.
yajl-objc.
TouchJSON.
ObjFW.
OCaml:
Yojson.
jsonm.
OpenLaszlo:
JSON.
PascalScript:
JsonParser.
Perl:
CPAN.
perl-JSON-SL.
Photoshop:
JSON Photoshop Scripting.
PHP:
PHP 5.2.
json.
Services_JSON.
Zend_JSON.
Comparison of php json libraries.
PicoLisp:
picolisp-json.
Pike:
Public.Parser.JSON.
Public.Parser.JSON2.
PL/SQL:
pljson:
Librairie-JSON.
PowerShell:
PowerShell.
Prolog:
SWI-Prolog HTTP support.
Puredata:
PuRestJson.
Python:
The Python Standard Library.
simplejson.
pyson.
Yajl-Py.
ultrajson.
metamagic.json.
R:
rjson.
jsonlite.
Racket:
json-parsing.
Rebol:
json.r.
RPG:
JSON Utilities.
Ruby:
json.
yajl-ruby.
json-stream.
yajl-ffi.
Scala:
package json.
Scheme:
MZScheme.
PLT Scheme.
Squeak:
Squeak.
Symbian:
s60-json-library.
Tcl:
JSON.
Visual Basic:
VB-JSON.
PW.JSON.
Visual FoxPro:
fwJSON.
JSON.
vfpjson.
相关文章推荐
- 使用 Python 处理 JSON 格式的数据
- XML 与 JSON 优劣对比
- VBA将excel数据表生成JSON文件
- newtonsoft.json解析天气数据出错解决方法
- vbs 解析json jsonp的方法
- Ruby和Ruby on Rails中解析JSON格式数据的实例教程
- Extjs4如何处理后台json数据中日期和时间
- C#实现将类的内容写成JSON格式字符串的方法
- JQuery ajax返回JSON时的处理方式 (三种方式)
- jquery JSON的解析方式示例介绍
- c#版json数据解析示例分享
- ASP JSON类文件的使用方法
- C# JSON格式化转换辅助类 ConvertJson
- C#实现对Json字符串处理实例
- C#实现Json转Unicode的方法
- php解析json数据实例
- PHP中JSON的应用技巧
- PHP6 先修班 JSON实例代码
- 关于JSON以及JSON在PHP中的应用技巧
- .Net中的json操作类用法分析