planb icon indicating copy to clipboard operation
planb copied to clipboard

Diff-ing Engine

Open grantjk opened this issue 10 years ago • 1 comments

One thing that happens more often than people realize, is that the api changes. Sometimes it's a simple as renaming a key, etc.

I'd like to see a diff-ing engine that can surface changes between the last saved JSON. However, I think a straight up diff would not be helpful, as fixture data can change. Ideally, it'd be a diff on the JSON Schema - identifying changes in JSON structure / key-names / value types. I wonder if you can generate a schema from JSON and then diff on that:

http://stackoverflow.com/questions/7341537/tool-to-generate-json-schema-from-json-data

grantjk avatar Apr 27 '15 14:04 grantjk

#10 Adds the straight-up JSON diff, as a first pass. Schema diffing to come.

jacobmoe avatar Jun 11 '15 13:06 jacobmoe