json/doc/mkdocs/docs/api/json_sax/start_array.md

25 lines
395 B
Markdown
Raw Normal View History

2021-11-07 15:13:37 +03:00
# <small>nlohmann::json_sax::</small>start_array
2021-11-05 00:02:48 +03:00
```cpp
virtual bool start_array(std::size_t elements) = 0;
```
The beginning of an array was read.
## Parameters
`elements` (in)
: number of object elements or `#!cpp -1` if unknown
## Return value
Whether parsing should proceed.
2021-11-05 16:26:19 +03:00
## Notes
2021-11-05 00:02:48 +03:00
Binary formats may report the number of elements.
## Version history
- Added in version 3.2.0.