a json array value
More...
#include <json.hpp>
a json array value
Definition at line 69 of file json.hpp.
◆ begin()
start iterating iterate over the values of the array
- Returns
- the start of the iteration
Definition at line 57 of file json.cpp.
◆ end()
end iterating
- Returns
- the end of the iteration
Definition at line 58 of file json.cpp.
◆ get()
Json Array::get |
( |
size_t |
index | ) |
const |
get a value access a value from the array by index
- Warning
- if the index is out of bounds the function will assert
- Parameters
-
- Returns
- the value at
index
Definition at line 53 of file json.cpp.
◆ length()
size_t Array::length |
( |
| ) |
const |
get the length of the array
- Returns
- the length of the array
Definition at line 55 of file json.cpp.
◆ operator[]()
Json Array::operator[] |
( |
size_t |
index | ) |
const |
get a value same as get
- Parameters
-
- Returns
- the value at
index
Definition at line 54 of file json.cpp.
◆ Json
The documentation for this class was generated from the following files: