←back to thread

JSON Patch

(zuplo.com)
300 points DataOverload | 3 comments | | HN request time: 0.496s | source
1. terrelln ◴[] No.41882101[source]
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
replies(2): >>41882336 #>>41955970 #
2. SahAssar ◴[] No.41882336[source]
JSON-patch is not a generic patch. It's not the same thing.
3. yencabulator ◴[] No.41955970[source]
And last I tested, this was more performant and space efficient than JSON Patch...