How to Diff two JSON Files

Just sort the keys first! Example: cat a.json | jq --sort-keys . > aa.json cat b.json | jq --sort-keys . > bb.json vimdiff aa.json bb.json

April 10, 2018

About Pretty Printing

JSON cat xxx.json | jq . XML cat xxx.xml | xmllint --format -

February 1, 2016

JSON Schema parser & code generator

json-schema generates Go struct from a JSON Schema specification. Decimal types are supported for accurate currency calculation.

November 4, 2015