✨ implemented JSON Merge Patch (RFC 7396)
SQLite's json1 extension (https://www.sqlite.org/json1.html) supports JSON Merge Patch (https://tools.ietf.org/html/rfc7396). As the implementation is trivial and we already support JSON Patch, I think this could be a nice extension to the library.
This commit is contained in:
parent
f7ae143a93
commit
c6e7eae394
6 changed files with 393 additions and 0 deletions
doc/examples
11
doc/examples/merge_patch.output
Normal file
11
doc/examples/merge_patch.output
Normal file
|
@ -0,0 +1,11 @@
|
|||
{
|
||||
"author": {
|
||||
"givenName": "John"
|
||||
},
|
||||
"content": "This will be unchanged",
|
||||
"phoneNumber": "+01-123-456-7890",
|
||||
"tags": [
|
||||
"example"
|
||||
],
|
||||
"title": "Hello!"
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue