Provided by: libbson-doc_2.2.1-1_all bug

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 <https://github.com/mongodb/specifications/blob/master/source/extended-json/extended-json.md>.

       See also:
          bson_as_json_with_opts() <>

Author

       MongoDB, Inc

Copyright

       2009-present, MongoDB, Inc.

2.2.1                                             Dec 11, 2025                               BSON_JSON_MODE_T(3)