set_pointer_options

## `set_pointer_options`

Options for `value::set_at_pointer`.

### Synopsis

Defined in header <boost/json/set_pointer_options.hpp>.

    struct set_pointer_options;

### Data Members

Name | Description
--- | ---
`create_arrays` | Whether to create arrays.
`create_objects` | Whether to create objects.
`max_created_elements` | Maximum amount of elements added per one pointer token.
`replace_any_scalar` | Whether to replace non-null scalars.

### Description

This structure is used for controlling behavior of `value::set_at_pointer` regarding creation of intermediate elements.

Convenience header <boost/json.hpp>.

Edit this page