Skip to content

JSON

JavaScript Object Notation (JSON), is an open standard file format, and data interchange format, that uses human-readable text to store and send data objects consisting of attribute–value pairs and array data types (or any other serializable value).

Linters and fixers

jsonlint

jsonlint is a pure JavaScript version of the service provided at jsonlint.com.

Install it with:

npm install jsonlint -g

Vim supports this linter through ALE.

jq

jq is like sed for JSON data. You can use it to slice, filter, map and transform structured data with the same ease that sed, awk, grep and friends let you play with text.

Install it with:

apt-get install jq

Vim supports this linter through ALE.