mirror of
https://github.com/nlohmann/json.git
synced 2025-07-29 23:01:16 +03:00
📝 add docset
This commit is contained in:
@ -24,8 +24,8 @@ class basic_json;
|
||||
|
||||
## Specializations
|
||||
|
||||
- json
|
||||
- ordered_json
|
||||
- [**json**](../json.md) - default specialization
|
||||
- [**ordered_json**](../ordered_json.md) - specialization that maintains the insertion order of object keys
|
||||
|
||||
## Template parameters
|
||||
|
||||
|
5
doc/mkdocs/docs/api/json.md
Normal file
5
doc/mkdocs/docs/api/json.md
Normal file
@ -0,0 +1,5 @@
|
||||
# json
|
||||
|
||||
```cpp
|
||||
using json = basic_json<>;
|
||||
```
|
5
doc/mkdocs/docs/api/ordered_json.md
Normal file
5
doc/mkdocs/docs/api/ordered_json.md
Normal file
@ -0,0 +1,5 @@
|
||||
# ordered_json
|
||||
|
||||
```cpp
|
||||
using ordered_json = basic_json<nlohmann::ordered_map>;
|
||||
```
|
7
doc/mkdocs/docs/api/ordered_map.md
Normal file
7
doc/mkdocs/docs/api/ordered_map.md
Normal file
@ -0,0 +1,7 @@
|
||||
# ordered_map
|
||||
|
||||
```cpp
|
||||
template<class Key, class T, class IgnoredLess = std::less<Key>,
|
||||
class Allocator = std::allocator<std::pair<const Key, T>>>
|
||||
struct ordered_map : std::vector<std::pair<const Key, T>, Allocator>;
|
||||
```
|
Reference in New Issue
Block a user