1BSON_JSON_READER_READ(3) libbson BSON_JSON_READER_READ(3)
2
3
4
6 int
7 bson_json_reader_read (bson_json_reader_t *reader,
8 bson_t *bson,
9 bson_error_t *error);
10
12 • reader: A bson_json_reader_t.
13
14 • bson: A bson_t.
15
16 • error: A bson_error_t.
17
19 Reads the next BSON document from the underlying JSON source.
20
22 Errors are propagated via the error parameter.
23
25 1 if successful and data was read. 0 if successful and no data was
26 read. -1 if there was an error.
27
29 MongoDB, Inc
30
32 2017-present, MongoDB, Inc
33
34
35
36
371.25.1 Nov 08, 2023 BSON_JSON_READER_READ(3)