bson_iter_value man page

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

Synopsis

const bson_value_t *
bson_iter_value (bson_iter_t *iter);

Parameters

iter
A bson_iter_t

Description

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

Returns

A bson_value_t that should not be modified or freed.

Colophon

This page is part of libbson. Please report any bugs at https://jira.mongodb.org/browse/CDRIVER.

Info

2016‐10‐28 libbson