aez-notes

Home

Table of Contents

json-logo.png

CLI

jq is a command line tool for working with JSON. It can be installed using your package manager.

Pretty printing

To pretty print the contents of demo.json to the file pretty-demo.json use the following:

cat demo.json | jq . > pretty-demo.json

Packages

Language Package
Emacs Lisp json
Haskell aeson
R jsonlite

Emacs Lisp

See the JSON section of emacs notes for notes on working with JSON in Emacs Lisp.

Haskell

See the JSON section of haskell notes for notes on working with JSON in Haskell.

R

See the JSON section of R notes for notes on working with JSON in R.

Author: Alex Zarebski

Created: 2021-10-27 Wed 19:08

Validate