JSON: Difference between revisions

From XPUB & Lens-Based wiki
No edit summary
 
(3 intermediate revisions by the same user not shown)
Line 5: Line 5:
Developed by [http://javascript.crockford.com/ Douglas Crockford], of Javascript: The Good Parts fame
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/


== Commandline ==
* https://addons.mozilla.org/en-US/firefox/addon/jsonview/


See: https://shapeshed.com/jq-json/
== 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.