bson_json_reader_new_from_file (3) - Linux Manuals
bson_json_reader_new_from_file: Creates a new bson_json_reader_t using the underlying file found at filename.
Command to display bson_json_reader_new_from_file
manual in Linux: $ man 3 bson_json_reader_new_from_file
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.
Pages related to bson_json_reader_new_from_file
- bson_json_reader_new_from_fd (3) - Creates a new JSON to BSON converter that will be reading from the file-descriptor fd.
- bson_json_reader_new (3) - Creates a new bson_json_reader_t that can read from an arbitrary data source in a streaming fashion.
- bson_json_reader_destroy (3) - Frees a bson_json_reader_t.
- bson_json_reader_read (3) - Reads the next BSON document from the underlying JSON source.
- bson_json_reader_t (3) - Bulk JSON to BSON conversion
- bson_json_data_reader_ingest (3) - Feed data to a memory based json reader.
- bson_json_data_reader_new (3) - Creates a new streaming JSON reader that will convert JSON documents to BSON.
- bson_append_array (3) - The bson_append_array() function shall append child to bson using the specified key. The type of the field will be an array, but it is the responsibility of the caller to ensure that the keys of child are properly formatted with string keys such as "0", "1", "2" and so forth.
- bson_append_array_begin (3) - The bson_append_array_begin() function shall begin appending an array field to bson. This allows for incrementally building a sub-array. Doing so will generally yield better performance as you will serialize to a single buffer. When done building the sub-array, the caller MUST call bson_append_array_end().