bson_json_data_reader_ingest (3) - Linux Manuals
bson_json_data_reader_ingest: Feed data to a memory based json reader.
Command to display bson_json_data_reader_ingest
manual in Linux: $ man 3 bson_json_data_reader_ingest
NAME
bson_json_data_reader_ingest() - Feed data to a memory based json reader.
SYNOPSIS
void
bson_json_data_reader_ingest (bson_json_reader_t *reader,
const uint8_t *data,
size_t len);
PARAMETERS
- reader
-
A
bson_json_reader_t
\&.
- data
-
A uint8_t containing data to feed.
- len
-
A size_t containing the length of
data
\&.
DESCRIPTION
Feed data to a memory based json reader.
COLOPHON
This page is part of libbson.
Please report any bugs at
https://jira.mongodb.org/browse/CDRIVER.
Pages related to bson_json_data_reader_ingest
- bson_json_data_reader_new (3) - Creates a new streaming JSON reader that will convert JSON documents to BSON.
- bson_json_reader_destroy (3) - Frees a bson_json_reader_t.
- 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_new_from_fd (3) - Creates a new JSON to BSON converter that will be reading from the file-descriptor fd.
- bson_json_reader_new_from_file (3) - Creates a new bson_json_reader_t using the underlying file found at filename.
- 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_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().