]>
Commit | Line | Data |
---|---|---|
1e59de90 TL |
1 | # <small>nlohmann::json_sax::</small>start_object |
2 | ||
3 | ```cpp | |
4 | virtual bool start_object(std::size_t elements) = 0; | |
5 | ``` | |
6 | ||
7 | The 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 | ||
16 | Whether parsing should proceed. | |
17 | ||
18 | ## Notes | |
19 | ||
20 | Binary formats may report the number of elements. | |
21 | ||
22 | ## Version history | |
23 | ||
24 | - Added in version 3.2.0. |