mirror of
https://github.com/nlohmann/json.git
synced 2026-10-01 14:35:18 +00:00
Document dump() of json_view
- API pages for dump, number_format, and operator<< of basic_json_view, linked both ways with the basic_json pages - the feature page describes document order and number_format::source - the examples show when the view helps: forwarding part of a message and writing numbers exactly as they were read Signed-off-by: Niels Lohmann <mail@nlohmann.me>
This commit is contained in:
14
docs/mkdocs/docs/examples/basic_json_view__dump.output
Normal file
14
docs/mkdocs/docs/examples/basic_json_view__dump.output
Normal file
@@ -0,0 +1,14 @@
|
||||
{"id":2,"temp":87.3}
|
||||
{
|
||||
"name": "cache",
|
||||
"host": "db1",
|
||||
"port": 6379,
|
||||
"timeout": 30
|
||||
}
|
||||
|
||||
{
|
||||
"host": "db1",
|
||||
"name": "cache",
|
||||
"port": 6379,
|
||||
"timeout": 30
|
||||
}
|
||||
Reference in New Issue
Block a user