Updated nlohmann::basicjson (markdown)
1 parent
98fef8f2a6
commit
fcae1271cf
1 file changed
+19
-19
+19
-19
@@ -73,56 +73,56 @@ Note the type `json` is a typedef for the class `basic_json` with its default ty
|
|||||||
|
|
||||||
### Type support
|
### Type support
|
||||||
|
|
||||||
- [**(implicit value conversion)**](https://github.com/nlohmann/json/wiki/nlohmann::basicjson::operator-T())
|
- [**(implicit value conversion)**](https://github.com/nlohmann/json/wiki/nlohmann::basic_json::operator-T())
|
||||||
- [**get**](https://github.com/nlohmann/json/wiki/nlohmann::basicjson::get)<br>
|
- [**get**](https://github.com/nlohmann/json/wiki/nlohmann::basic_json::get)<br>
|
||||||
explicit value conversion
|
explicit value conversion
|
||||||
- `type`
|
- `type`
|
||||||
- [**is_null**](https://github.com/nlohmann/json/wiki/nlohmann::basicjson::is_null)<br>
|
- [**is_null**](https://github.com/nlohmann/json/wiki/nlohmann::basic_json::is_null)<br>
|
||||||
whether value is null
|
whether value is null
|
||||||
- [**is_boolean**](https://github.com/nlohmann/json/wiki/nlohmann::basicjson::is_boolean)<br>
|
- [**is_boolean**](https://github.com/nlohmann/json/wiki/nlohmann::basic_json::is_boolean)<br>
|
||||||
whether value is boolean
|
whether value is boolean
|
||||||
- [**is_number**](https://github.com/nlohmann/json/wiki/nlohmann::basicjson::is_number)<br>
|
- [**is_number**](https://github.com/nlohmann/json/wiki/nlohmann::basic_json::is_number)<br>
|
||||||
whether value is number
|
whether value is number
|
||||||
- [**is_object**](https://github.com/nlohmann/json/wiki/nlohmann::basicjson::is_object)<br>
|
- [**is_object**](https://github.com/nlohmann/json/wiki/nlohmann::basic_json::is_object)<br>
|
||||||
whether value is object
|
whether value is object
|
||||||
- [**is_array**](https://github.com/nlohmann/json/wiki/nlohmann::basicjson::is_array)<br>
|
- [**is_array**](https://github.com/nlohmann/json/wiki/nlohmann::basic_json::is_array)<br>
|
||||||
whether value is array
|
whether value is array
|
||||||
- [**is_string**](https://github.com/nlohmann/json/wiki/nlohmann::basicjson::is_string)<br>
|
- [**is_string**](https://github.com/nlohmann/json/wiki/nlohmann::basic_json::is_string)<br>
|
||||||
whether value is string
|
whether value is string
|
||||||
|
|
||||||
### Element access
|
### Element access
|
||||||
|
|
||||||
- [**at**](https://github.com/nlohmann/json/wiki/nlohmann::basicjson::at)<br>
|
- [**at**](https://github.com/nlohmann/json/wiki/nlohmann::basic_json::at)<br>
|
||||||
access specific elements with bound checking
|
access specific elements with bound checking
|
||||||
- `operator[]`
|
- `operator[]`
|
||||||
- [**front**](https://github.com/nlohmann/json/wiki/nlohmann::basicjson::front)<br>
|
- [**front**](https://github.com/nlohmann/json/wiki/nlohmann::basic_json::front)<br>
|
||||||
access the first element
|
access the first element
|
||||||
- [**back**](https://github.com/nlohmann/json/wiki/nlohmann::basicjson::back)<br>
|
- [**back**](https://github.com/nlohmann/json/wiki/nlohmann::basic_json::back)<br>
|
||||||
access the last element
|
access the last element
|
||||||
|
|
||||||
### Iterators
|
### Iterators
|
||||||
|
|
||||||
- [**begin**, **cbegin**](https://github.com/nlohmann/json/wiki/nlohmann::basicjson::begin)<br>
|
- [**begin**, **cbegin**](https://github.com/nlohmann/json/wiki/nlohmann::basic_json::begin)<br>
|
||||||
returns an iterator to the beginning
|
returns an iterator to the beginning
|
||||||
- [**end**, **cend**](https://github.com/nlohmann/json/wiki/nlohmann::basicjson::end)<br>
|
- [**end**, **cend**](https://github.com/nlohmann/json/wiki/nlohmann::basic_json::end)<br>
|
||||||
returns an iterator to the end
|
returns an iterator to the end
|
||||||
- [**rbegin**, **crbegin**](https://github.com/nlohmann/json/wiki/nlohmann::basicjson::rbegin)<br>
|
- [**rbegin**, **crbegin**](https://github.com/nlohmann/json/wiki/nlohmann::basic_json::rbegin)<br>
|
||||||
returns a reverse iterator to the beginning
|
returns a reverse iterator to the beginning
|
||||||
- [**rend**, **crend**](https://github.com/nlohmann/json/wiki/nlohmann::basicjson::rend)<br>
|
- [**rend**, **crend**](https://github.com/nlohmann/json/wiki/nlohmann::basic_json::rend)<br>
|
||||||
returns a reverse iterator to the end
|
returns a reverse iterator to the end
|
||||||
|
|
||||||
### Capacity
|
### Capacity
|
||||||
|
|
||||||
- [**empty**](https://github.com/nlohmann/json/wiki/nlohmann::basicjson::empty)<br>
|
- [**empty**](https://github.com/nlohmann/json/wiki/nlohmann::basic_json::empty)<br>
|
||||||
checks whether the container is empty
|
checks whether the container is empty
|
||||||
- [**size**](https://github.com/nlohmann/json/wiki/nlohmann::basicjson::size)<br>
|
- [**size**](https://github.com/nlohmann/json/wiki/nlohmann::basic_json::size)<br>
|
||||||
returns the number of elements
|
returns the number of elements
|
||||||
- [**max_size**](https://github.com/nlohmann/json/wiki/nlohmann::basicjson::max_size)<br>
|
- [**max_size**](https://github.com/nlohmann/json/wiki/nlohmann::basic_json::max_size)<br>
|
||||||
returns the maximum possible number of elements
|
returns the maximum possible number of elements
|
||||||
|
|
||||||
### Modifiers
|
### Modifiers
|
||||||
|
|
||||||
- [**erase**](https://github.com/nlohmann/json/wiki/nlohmann::basicjson::erase)<br>
|
- [**erase**](https://github.com/nlohmann/json/wiki/nlohmann::basic_json::erase)<br>
|
||||||
erases elements
|
erases elements
|
||||||
- `clear`
|
- `clear`
|
||||||
- `push_back`
|
- `push_back`
|
||||||
|
|||||||
Reference in new issue
Block a user