Man page - bson_iter_value(3)

Packages contas this manual

Manual

BSON_ITER_VALUE(3) libbson BSON_ITER_VALUE(3)

const bson_value_t *
bson_iter_value (bson_iter_t *iter);


iter: A bson_iter_t.

Fetches the value for the currently observed type as a boxed type. This allows passing around the value without knowing the type at runtime.

If the bson_iter_t is further modified, the bson_value_t is invalidated.

A bson_value_t that should not be modified or freed.

MongoDB, Inc

2009-present, MongoDB, Inc.

December 18, 2025 1.30.4