|
|
|
|
|
by yencabulator
845 days ago
|
|
JSON Patch is incremental updates to a singular JSON document[1]. Lines-of-JSON is streaming delivery of multiple JSON documents. Most producers & consumers will only hold one item in memory at a time. [1]: And kinda sucks at that job. Last time I benchmarked it, a gzipped lines-of-json stream that just repeated the whole document for every edit was smaller than a JSON Patch stream, and re-parsing the document was faster than applying JSON Patches. |
|