JSON: Difference between revisions

From XPUB & Lens-Based wiki
(Created page with "Javascript Object Notation Developed by Douglas Crockford Hip alternative to XML for data sharing. Example: http://www.archive.org/details/uso20110129?output=json Consider: h...")
 
 
(6 intermediate revisions by the same user not shown)
Line 1: Line 1:
http://www.json.org/
Javascript Object Notation
Javascript Object Notation


Developed by Douglas Crockford
Developed by [http://javascript.crockford.com/ Douglas Crockford], of Javascript: The Good Parts fame


Hip alternative to XML for data sharing.
Hip alternative to [[XML]] for data sharing.


Example:
Example:
http://www.archive.org/details/uso20110129?output=json
http://www.archive.org/details/uso20110129?output=json


Consider:
Some browsers automatically recognize JSON and provide helpful formatting. If not, there's probably a plugin to do that.
https://addons.mozilla.org/en-US/firefox/addon/jsonview/
 
* https://addons.mozilla.org/en-US/firefox/addon/jsonview/
 
== Command-line ==
 
[[jq]] is a nice command-line tool for JSON parsing on the command-line.

Latest revision as of 13:52, 11 May 2020

http://www.json.org/

Javascript Object Notation

Developed by Douglas Crockford, of Javascript: The Good Parts fame

Hip alternative to XML for data sharing.

Example: http://www.archive.org/details/uso20110129?output=json

Some browsers automatically recognize JSON and provide helpful formatting. If not, there's probably a plugin to do that.

Command-line

jq is a nice command-line tool for JSON parsing on the command-line.