mirror of
https://github.com/nlohmann/json.git
synced 2026-11-12 18:55:33 +00:00
deploy: cdfb130fa6
This commit is contained in:
@@ -22,6 +22,8 @@ Constant.
|
||||
|
||||
For a borrowed document, `source()` points directly into the caller's buffer, so it is only valid while that buffer is; see [`owns_source`](https://json.nlohmann.me/api/basic_json_document/owns_source/index.md).
|
||||
|
||||
The text of a document that owns it must not be passed to [`read()`](https://json.nlohmann.me/api/basic_json_document/read/index.md) of the same document: `read()` releases an owned text before it parses its input. Copy it first. (A borrowed text belongs to the caller and is not affected.)
|
||||
|
||||
## Examples
|
||||
|
||||
Example
|
||||
|
||||
Reference in New Issue
Block a user