logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

bson_json_reader_t *

Author

       MongoDB, Inc

Description

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

Errors

       Errors are propagated via error.

Parameters

filename: A file-name in the system file-name encoding.

       • error: A bson_error_t.

Returns

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

Synopsis

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

See Also