top | item 41880913

(no title)

iwwr | 1 year ago

What about auto-formatting the json and sorting all keys, to create some kind of canonical form? Then we can use standard textual patch.

discuss

order

_blk|1 year ago

Standard text patches (diffs) are great because they work with all text files but for a specific representation like JSON you can do a lot better. In terms of code volume it's a lot lighter to find a node based on a json path than applying a diff.