Hacker News new | ask | show | jobs
by terrelln 616 days ago
You can also use general purpose compressors like Zstandard to create a generic patch:

    zstd --patch-from old.json new.json -o patch.zst
    zstd --patch-from old.json -d patch.zst -o updated.json
2 comments

And last I tested, this was more performant and space efficient than JSON Patch...
JSON-patch is not a generic patch. It's not the same thing.