BSON_JSON_OPTS_SET_OUTERMOST_ARRAY(3) libbson BSON_JSON_OPTS_SET_OUTERMOST_ARRAY(3)

void
bson_json_opts_set_outermost_array (bson_json_opts_t *opts, bool is_outermost_array);


  • opts: A bson_json_opts_t.
  • is_outermost_array: A value determining what we want to set the is_outermost_array variable to.

The bson_json_opts_set_outermost_array() function shall set the is_outermost_array variable on the bson_json_opts_t parameter using the boolean provided.

MongoDB, Inc

2017-present, MongoDB, Inc

March 31, 2024 1.26.0