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