1# <small>nlohmann::json_sax::</small>start_object
2
3```cpp
4virtual bool start_object(std::size_t elements) = 0;
5```
6
7The beginning of an object was read.
8
9## Parameters
10
11`elements` (in)
12:   number of object elements or `#!cpp -1` if unknown
13
14## Return value
15
16Whether parsing should proceed.
17
18## Notes
19
20Binary formats may report the number of elements.
21
22## Examples
23
24??? example
25
26    The example below shows how the SAX interface is used.
27
28    ```cpp
29    --8<-- "examples/sax_parse.cpp"
30    ```
31    
32    Output:
33    
34    ```json
35    --8<-- "examples/sax_parse.output"
36    ```
37
38## Version history
39
40- Added in version 3.2.0.
41