bson_json_reader_new man page

bson_json_reader_new ā€” bson_json_reader_new()

Synopsis

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

Description

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().

Author

MongoDB, Inc

Info

Sep 15, 2017 1.8.0 Libbson