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

25 lines
373 B
Markdown
Raw Normal View History

2021-11-05 00:02:48 +03:00
# json_sax::start_object
```cpp
virtual bool start_object(std::size_t elements) = 0;
```
The beginning of an object 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.