mirror of
https://github.com/nlohmann/json.git
synced 2026-07-12 13:35:13 +00:00
6a7392058e
* 🧍 update contributor and sponsor list * 🚧 document BJData format * 🚧 document BJData format * 📡 clarified documentation of [json.exception.parse_error.112] * ✏️ adjust titles * 📡 add more examples * 🎓 adjust warnings for index.md files * 📡 add more examples * 🦚 remove example for deprecated code * 📡 add missing enum entry * 📡 overwork table for binary formats * ✅ add test to create table for binary formats * 📡 fix wording in example * 📡 add more examples * Update iterators.md (#3481) * ✨ add check for overloads to linter #3455 * 🧍 update contributor list * 📡 add more examples * 📡 fix documentation * 📡 add more examples * 🚶 fix indentation * 🦚 remove example for destructor * 📡 overwork documentation * Updated BJData documentation, #3464 (#3493) * update bjdata.md for #3464 * Minor edit * Fix URL typo * Add info on demoting ND array to a 1-D optimized array when singleton dimension Co-authored-by: Chaoqi Zhang <prncoprs@163.com> Co-authored-by: Qianqian Fang <fangqq@gmail.com>
472 B
472 B
nlohmann::json
using json = basic_json<>;
This type is the default specialization of the basic_json 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.