bson_json_mode_t - Man Page

Name

bson_json_mode_t ā€” bson_json_mode_t

BSON JSON encoding mode enumeration

Synopsis

#include <bson/bson.h>

typedef enum {
   BSON_JSON_MODE_LEGACY,
   BSON_JSON_MODE_CANONICAL,
   BSON_JSON_MODE_RELAXED,
} bson_json_mode_t;

Description

The bson_json_mode_t enumeration contains all available modes for encoding BSON into MongoDB Extended JSON.

SEE ALSO:

bson_as_json_with_opts()

Author

MongoDB, Inc

Info

Sep 14, 2021 1.19.0 libbson