JSON: Difference between revisions
(2 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 | ||
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/ | ||
== Command-line == | |||
[[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. | ||
Latest 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.
Command-line
jq is a nice command-line tool for JSON parsing on the command-line.