bson_json_data_reader_new - Man Page

bson_json_data_reader_new()

Synopsis

bson_json_reader_t *
bson_json_data_reader_new (bool allow_multiple, size_t size);

Parameters

Description

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

The allow_multiple parameter is unused.

Returns

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

Author

MongoDB, Inc

Info

Feb 25, 2020 1.16.2 libbson