3 ms·
I wonder if adding a merge op would be a viable option e.g.: { "op": "merge", "path": "/", "value": { "score": null, "author": "Frank Herbert" } } It's ki
by enragedcacti 2y ago
I wonder if adding a merge op would be a viable option e.g.:
{ "op": "merge", "path": "/", "value": { "score": null, "author": "Frank Herbert" } }
It's kind of nice to retain the terse and intuitive format while also gaining features like "test" and explicit nulls. It's of course not spec compliant anymore but for standard JSON Patch APIs the client could implement a simple Merge Patch->Patch compiler.