mheap / jsondiff

Diff two pieces of JSON and receive a verbose explanation of any differences

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

jsondiff

Usage

Clone the repo, add jsondiff to your path and run

jsondiff <reference.json> <comparison.json> [ignored_keys]

e.g.

jsondiff resources/a.json resources/b.json zz,c.g.h

This will use a.json as the reference file, compare b.json to it and output any differences (ignoring the keys "zz" and "c.g.h")

jsondiff expects one piece of JSON per line.

About

Diff two pieces of JSON and receive a verbose explanation of any differences


Languages

Language:PHP 100.0%