bson_json_reader_new_from_file man page

bson_json_reader_new_from_file ā€” bson_json_reader_new_from_file()

Synopsis

bson_json_reader_t *
bson_json_reader_new_from_file (const char *filename, bson_error_t *error);

Parameters

Description

Creates a new bson_json_reader_t using the underlying file found at filename.

Errors

Errors are propagated via error.

Returns

A newly allocated bson_json_reader_t if successful, otherwise NULL and error is set.

Author

MongoDB, Inc

Info

Nov 20, 2017 1.8.2 Libbson