mirror of
https://github.com/nlohmann/json.git
synced 2026-08-30 04:57:13 +00:00
deploy: 7c9208bfb3
This commit is contained in:
+28
@@ -0,0 +1,28 @@
|
||||
# <small>nlohmann::</small>json
|
||||
|
||||
```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.
|
||||
Reference in New Issue
Block a user