bson_json_data_reader_new man page

bson_json_data_reader_new() — Creates a new streaming JSON reader that will convert JSON documents to BSON.

Synopsis

bson_json_reader_t *
bson_json_data_reader_new (bool   allow_multiple,
                           size_t size);

Parameters

allow_multiple
Unused.
size
A requested buffer size.

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

Colophon

This page is part of libbson. Please report any bugs at https://jira.mongodb.org/browse/CDRIVER.

Info

2016‐11‐12 libbson