1
0
mirror of https://github.com/nlohmann/json.git synced 2025-07-28 12:02:00 +03:00

📝 add more documentation

This commit is contained in:
Niels Lohmann
2020-07-27 14:07:13 +02:00
parent 84c0c76849
commit c006fc9bec
5 changed files with 405 additions and 15 deletions

View File

@ -57,16 +57,18 @@ Binary values are serialized as object containing two keys:
## Example
The following example shows the effect of different `indent`,
??? example
The following example shows the effect of different `indent`,
`indent_char`, and `ensure_ascii` parameters to the result of the
serialization.
```cpp
--8<-- "examples/dump.cpp"
```
Output:
```json
--8<-- "examples/dump.output"
```
```cpp
--8<-- "examples/dump.cpp"
```
Output:
```json
--8<-- "examples/dump.output"
```