Provided by: libbson-doc_1.3.1-1_all bug

NAME

       bson_json_reader_new_from_file()  -  Creates  a new bson_json_reader_t using the underlying file found at
       filename.

SYNOPSIS

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

PARAMETERS

       filename
              A file‐name in the system file‐name encoding.

       error  A bson_error_t \&.

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.

COLOPHON

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

libbson                                            2016‐01‐18                  BSON_JSON_READER_NEW_FROM_FILE(3)