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
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
JSON cat xxx.json | jq . XML cat xxx.xml | xmllint --format -
json-schema generates Go struct from a JSON Schema specification. Decimal types are supported for accurate currency calculation.