mirror of
https://github.com/nlohmann/json.git
synced 2026-11-15 03:48:21 +00:00
Docs: reading and writing files; patch_inplace() is not atomic (#6017)
This commit is contained in:
1 parent
42825fba07
commit
a49242f088
10 files changed
+166
-7
No files matched your search
@@ -29,7 +29,8 @@ other three continue on its result.
|
||||
|
||||
[`patch`](../api/basic_json/patch.md) leaves the original value unchanged and returns the patched result as a copy.
|
||||
If the document is large and the original value is no longer needed,
|
||||
[`patch_inplace`](../api/basic_json/patch_inplace.md) applies the same operations in place instead.
|
||||
[`patch_inplace`](../api/basic_json/patch_inplace.md) applies the same operations in place instead. Unlike
|
||||
`patch`, it is not atomic: if an operation fails, the operations before it stay applied.
|
||||
|
||||
!!! note "Duplicate member names"
|
||||
|
||||
|
||||
Reference in new issue
Block a user