Updated nlohmann::basicjson (markdown)
1 parent
829ea0a0f8
commit
be546b0ffb
1 file changed
+15
-2
+15
-2
@@ -33,7 +33,19 @@ template <
|
|||||||
| `number_integer_t` | `NumberIntegerType` |
|
| `number_integer_t` | `NumberIntegerType` |
|
||||||
| `number_float_t` | `NumberFloatType` |
|
| `number_float_t` | `NumberFloatType` |
|
||||||
| `list_init_t` | `std::initializer_list<basic_json>` |
|
| `list_init_t` | `std::initializer_list<basic_json>` |
|
||||||
| `json` | basic_json<> |
|
| `json` | `basic_json<>` |
|
||||||
|
|
||||||
|
Note the type `json` is a typedef for the class `basic_json` with its default types, resulting in the following typedefs:
|
||||||
|
|
||||||
|
| Type | Definition |
|
||||||
|
| --- | --- |
|
||||||
|
| `json::object_t` | `std::map<std::string, json>` |
|
||||||
|
| `json::array_t` | `std::vector<json>` |
|
||||||
|
| `json::string_t` | `std::string` |
|
||||||
|
| `json::boolean_t` | `bool` |
|
||||||
|
| `json::number_integer_t` | `int64_t` |
|
||||||
|
| `json::number_float_t` | `double` |
|
||||||
|
| `json::list_init_t` | `std::initializer_list<json>` |
|
||||||
|
|
||||||
## Member types
|
## Member types
|
||||||
|
|
||||||
@@ -73,7 +85,8 @@ template <
|
|||||||
|
|
||||||
### Iterators
|
### Iterators
|
||||||
|
|
||||||
- `begin`, `cbegin`
|
- [**begin**, **cbegin**](https://github.com/nlohmann/json/wiki/nlohmann::basicjson::begin)<br>
|
||||||
|
returns an iterator to the beginning
|
||||||
- `end`, `cend`
|
- `end`, `cend`
|
||||||
- `rbegin`, `crbegin`
|
- `rbegin`, `crbegin`
|
||||||
- `rend`, `crend`
|
- `rend`, `crend`
|
||||||
|
|||||||
Reference in new issue
Block a user