set_pointer_options::replace_any_scalar

Whether to replace non-null scalars.

Synopsis

bool replace_any_scalar = false;

Description

If the option is true any non-object, non-array value can be replaced by either an object or a array. If it’s false, only null values can be replaced.