JSON: Difference between revisions
No edit summary |
No edit summary |
||
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 | ||
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/ | |||
== Commandline == | == Commandline == | ||
[[jq]] is a nice command-line tool for JSON parsing on the command-line. | [[jq]] is a nice command-line tool for JSON parsing on the command-line. |
Revision as of 13:52, 11 May 2020
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.
Commandline
jq is a nice command-line tool for JSON parsing on the command-line.