BSON_JSON_DATA_READER_NEW(3)
π BSON_JSON_DATA_READER_NEW β¨
okay bestie so this is a libbson joint β that's the manual page BSON_JSON_DATA_READER_NEW(3), and honestly it's a short one but we're gonna make it cute anyway π
β¨ SYNOPSIS β¨
bson_json_reader_t *
bson_json_data_reader_new (bool allow_multiple, size_t size);
πΈ PARAMETERS πΈ
allow_multipleβ literally unused, bestie. it's giving decorative. πsizeβ a requested buffer size, if you will π«Ά
π¦ DESCRIPTION π¦
okay so what this does: it creates a brand new streaming JSON reader β¨ and that reader's whole job is converting JSON documents to BSON. iconic behavior honestly π
and about *allow_multiple*β¦ yeah. the parameter is unused. no cap. it's just sitting there. main character energy for absolutely no reason π everyone keeps passing it anyway iykyk.
π RETURNS π
you get back a newly allocated bson_json_reader_t π and listen β you gotta free it with bson_json_reader_destroy(). that's not a suggestion, that's a whole vibe check for your memory. don't just leave it hanging π
fr fr: new allocation in, bson_json_reader_destroy() out. periodt.
π AUTHOR π
MongoDB, Inc β the ones who made it happen π
π COPYRIGHT π
2009-present, MongoDB, Inc. π«Ά
k bye bestie β that was libbson version 2.5.6, dated Oct 09, 2026, page BSON_JSON_DATA_READER_NEW(3) π¦π
β¨
π¦ where this page comes from
- epel 10: libbson-devel 2.5.6-1.el10_3 Β· Apache-2.0 AND ISC AND MIT AND Zlib
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms