bson_json_reader_read(3)

bson_json_reader_read3

Usage

int
bson_json_reader_read (bson_json_reader_t *reader,
                       bson_t *bson,
                       bson_error_t *error);

Parameters

•

reader: A bson_json_reader_t.

•

bson: A bson_t.

•

error: A bson_error_t.

Overview

Reads the next BSON document from the underlying JSON source.

Errors

Errors are propagated via the error parameter.

Returns

1 if successful and data was read. 0 if successful and no data was read. -1 if there was an error.

Releases

5 releases since Debian 9 (Stretch); the text changed 4 times.

  1. 9
  2. 10
  3. 11
  4. 12
  5. 13

Author

MongoDB, Inc

From libbson-doc 1.30.4-1+deb13u3 in Debian 13 (Trixie). Parsed by carta from the page's man source.