---
name: "bson_json_opts_set_outermost_array"
section: "3"
platform: "linux"
package: "libbson-doc"
version: "1.30.4-1+deb13u3"
release: "Debian 13 (Trixie)"
platforms: ["linux"]
url: "https://new.carta.tech/bson_json_opts_set_outermost_array"
---

# bson\_json\_opts\_set\_outermost\_array(3)

## SYNOPSIS

```
void
bson_json_opts_set_outermost_array (bson_json_opts_t *opts, bool is_outermost_array);
```

## PARAMETERS

- •

  **opts**: A *bson\_json\_opts\_t*.

- •

  **is\_outermost\_array**: A value determining what we want to set the is\_outermost\_array variable to.

## DESCRIPTION

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.

## AUTHOR

MongoDB, Inc

## COPYRIGHT

2009-present, MongoDB, Inc.
