bson_json_reader_new(3)

bson_json_reader_new3

Usage

bson_json_reader_t *
bson_json_reader_new (void *data,
                      bson_json_reader_cb cb,
                      bson_json_destroy_cb dcb,
                      bool allow_multiple,
                      size_t buf_size);

Parameters

•

data: A user-defined pointer.

•

cb: A bson_json_reader_cb.

•

dcb: A bson_json_destroy_cb.

•

allow_multiple: Unused.

•

buf_size: A size_t containing the requested internal buffer size.

Overview

Creates a new bson_json_reader_t that can read from an arbitrary data source in a streaming fashion.

The allow_multiple parameter is unused.

Returns

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

Releases

5 releases since Debian 9 (Stretch); the text changed 4 times.

  1. 9
  2. 10
  3. 11
  4. 12
  5. 13

Author

MongoDB, Inc

From libbson-doc 1.30.4-1+deb13u3 in Debian 13 (Trixie). Parsed by carta from the page's man source.