-
Notifications
You must be signed in to change notification settings - Fork 455
CDRIVER-4659 Add extended json output capability for bson_array_as_json
#1305
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nicely done. Code changes look good. Please add documentation for the new API.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM with pending fixes to is_outermost_array
initialization and whitespacing in bson_json_opts_t.rst
.
bson_array_as_json
to mimic the functionality ofbson_as_json
and allow for legacy, relaxed, and canonical json outputbson_json_opts_t
to specify if the BSON is an outermost arraybson_json_opts_t
initializer