1BSON_JSON_READER_NEW(3)             libbson            BSON_JSON_READER_NEW(3)
2
3
4

SYNOPSIS

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

PARAMETERS

14data: A user-defined pointer.
15
16cb: A bson_json_reader_cb.
17
18dcb: A bson_json_destroy_cb.
19
20allow_multiple: Unused.
21
22buf_size: A size_t containing the requested internal buffer size.
23

DESCRIPTION

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

RETURNS

31       A  newly  allocated  bson_json_reader_t  that  should  be  freed   with
32       bson_json_reader_destroy().
33

AUTHOR

35       MongoDB, Inc
36
38       2017-present, MongoDB, Inc
39
40
41
42
431.25.1                           Nov 08, 2023          BSON_JSON_READER_NEW(3)
Impressum