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