json/docs/mkdocs/docs/api/json.md

29 lines
472 B
Markdown
Raw Normal View History

# <small>nlohmann::</small>json
2020-08-13 11:52:20 +03:00
```cpp
using json = basic_json<>;
```
This type is the default specialization of the [basic_json](basic_json/index.md) class which uses the standard template
types.
## Examples
??? example
The example below demonstrates how to use the type `nlohmann::json`.
```cpp
--8<-- "examples/README.cpp"
```
Output:
```json
--8<-- "examples/README.output"
```
## Version history
Since version 1.0.0.