mirror of
https://github.com/nlohmann/json.git
synced 2025-07-28 12:02:00 +03:00
add patch_inplace function (#3581)
* add patch_inplace function to json class * add documentation * fix up docs
This commit is contained in:
13
docs/examples/patch_inplace.output
Normal file
13
docs/examples/patch_inplace.output
Normal file
@ -0,0 +1,13 @@
|
||||
Before
|
||||
{
|
||||
"baz": "qux",
|
||||
"foo": "bar"
|
||||
}
|
||||
|
||||
After
|
||||
{
|
||||
"baz": "boo",
|
||||
"hello": [
|
||||
"world"
|
||||
]
|
||||
}
|
Reference in New Issue
Block a user