Skip site navigation (1)Skip section navigation (2)

  
 
  

home | help
BSON_JSON_OPTS_NEW(3)		     libbson		   BSON_JSON_OPTS_NEW(3)

SYNOPSIS
	bson_json_opts_t *
	bson_json_opts_new (bson_json_mode_t mode, int32_t max_len);

PARAMETERS
     * mode: A bson_json_mode_t.

     * max_len: An int32_t.

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 defin-
     ing 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.

RETURNS
     A newly allocated bson_json_opts_t.

AUTHOR
     MongoDB, Inc

COPYRIGHT
     2009-present, MongoDB, Inc.

1.30.8				  Aug 27, 2026		   BSON_JSON_OPTS_NEW(3)

Want to link to this manual page? Use this URL:
<https://man.freebsd.org/cgi/man.cgi?query=bson_json_opts_new&sektion=3&manpath=FreeBSD+Ports+15.1.quarterly>

home | help