Risk-Aware Code Review: Auto Approve Low-Risk Changes
LiveReview LiveReview LiveReview - Free, Risk-Aware Code Review: Auto Approve Low-Risk Changes | Product Hunt LiveReview - Free, Risk-Aware Code Review: Auto Approve Low-Risk Changes | Product Hunt GitHub Install Now

We'd appreciate a star

bson_json_opts_t *

Author

       MongoDB, Inc

Description

       The bson_json_opts_new() function shall create a new bson_json_opts_t using the mode and length supplied.
       The mode member is a bson_json_mode_t defining the encoding mode.

       The  max_len  member  holds  a  maximum length for the resulting JSON string. Encoding will stop once the
       serialised string has reached this length. To encode the full BSON document,  BSON_MAX_LEN_UNLIMITED  can
       be used.

Parameters

       • mode: A bson_json_mode_t.

       • max_len: An int32_t.

Returns

       A newly allocated bson_json_opts_t.

Synopsis

          bson_json_opts_t *
          bson_json_opts_new (bson_json_mode_t mode, int32_t max_len);

See Also