DOKK / manpages / debian 12 / libbson-doc / bson_json_data_reader_new.3.en
BSON_JSON_DATA_READER_NEW(3) libbson BSON_JSON_DATA_READER_NEW(3)

bson_json_data_reader_new - bson_json_data_reader_new()

bson_json_reader_t *
bson_json_data_reader_new (bool allow_multiple, size_t size);


  • allow_multiple: Unused.
  • size: A requested buffer size.

Creates a new streaming JSON reader that will convert JSON documents to BSON.

The allow_multiple parameter is unused.

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

MongoDB, Inc

2017-present, MongoDB, Inc

October 20, 2022 1.23.1