1
0
mirror of https://github.com/nlohmann/json synced 2024-12-12 12:30:09 +00:00

Updated nlohmann::basicjson (markdown)

Niels 2015-04-11 17:57:23 +02:00
parent 829ea0a0f8
commit be546b0ffb

@ -33,7 +33,19 @@ template <
| `number_integer_t` | `NumberIntegerType` |
| `number_float_t` | `NumberFloatType` |
| `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
@ -73,7 +85,8 @@ template <
### Iterators
- `begin`, `cbegin`
- [**begin**, **cbegin**](https://github.com/nlohmann/json/wiki/nlohmann::basicjson::begin)<br>
returns an iterator to the beginning
- `end`, `cend`
- `rbegin`, `crbegin`
- `rend`, `crend`