1BSON_JSON_MODE_T(3) libbson BSON_JSON_MODE_T(3)
2
3
4
6 bson_json_mode_t - bson_json_mode_t
7
8 BSON JSON encoding mode enumeration
9
11 #include <bson/bson.h>
12
13 typedef enum {
14 BSON_JSON_MODE_LEGACY,
15 BSON_JSON_MODE_CANONICAL,
16 BSON_JSON_MODE_RELAXED,
17 } bson_json_mode_t;
18
20 The bson_json_mode_t enumeration contains all available modes for en‐
21 coding BSON into MongoDB Extended JSON.
22
23 SEE ALSO:
24 bson_as_json_with_opts()
25
26
28 MongoDB, Inc
29
31 2017-present, MongoDB, Inc
32
33
34
35
361.20.0 Nov 18, 2021 BSON_JSON_MODE_T(3)