bson_json_mode_t(3)

bson_json_mode_t3

Usage

#include <bson/bson.h>
typedef enum {
   BSON_JSON_MODE_LEGACY,
   BSON_JSON_MODE_CANONICAL,
   BSON_JSON_MODE_RELAXED,
} bson_json_mode_t;

BSON JSON encoding mode enumeration

Overview

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

SEE ALSO:

bson_as_json_with_opts()

Releases

2 releases since Debian 12 (Bookworm); the text changed 1 time.

  1. 12
  2. 13

Author

MongoDB, Inc

From libbson-doc 1.30.4-1+deb13u3 in Debian 13 (Trixie). Parsed by carta from the page's man source.