1BSON_JSON_READER_NEW(3) libbson BSON_JSON_READER_NEW(3)
2
3
4
6 bson_json_reader_t *
7 bson_json_reader_new (void *data,
8 bson_json_reader_cb cb,
9 bson_json_destroy_cb dcb,
10 bool allow_multiple,
11 size_t buf_size);
12
14 • data: A user-defined pointer.
15
16 • cb: A bson_json_reader_cb.
17
18 • dcb: A bson_json_destroy_cb.
19
20 • allow_multiple: Unused.
21
22 • buf_size: A size_t containing the requested internal buffer size.
23
25 Creates a new bson_json_reader_t that can read from an arbitrary data
26 source in a streaming fashion.
27
28 The allow_multiple parameter is unused.
29
31 A newly allocated bson_json_reader_t that should be freed with
32 bson_json_reader_destroy().
33
35 MongoDB, Inc
36
38 2017-present, MongoDB, Inc
39
40
41
42
431.25.1 Nov 08, 2023 BSON_JSON_READER_NEW(3)