BSON_JSON_READER_DESTROY(3)
π BSON_JSON_READER_DESTROY π
okay so bestie, welcome to the libbson extended universe β this one's a tiny little cleanup function and honestly it's giving "short but essential" π
β¨ SYNOPSIS β¨
void
bson_json_reader_destroy (bson_json_reader_t *reader);
π«Ά PARAMETERS π«Ά
readerβ abson_json_reader_t. yeah. that's it. that's the whole parameter list, no cap πΈ
π DESCRIPTION π
Frees a bson_json_reader_t. literally just lets it go, cleans it up, sends it off into the void π¦
And the iconic part? it does nothing if reader is NULL. like, nothing at all. zero drama, no crash, no chaos β it just vibes and returns. so if you're out here passing NULL by accident, this function is not gonna be the one to humble you πβ¨
ngl this is the friend that doesn't get mad when you cancel plans.NULL? cool. notNULL? also cool. lowkey the healthiest function in the library.
π AUTHOR π
MongoDB, Inc β the legends themselves, periodt π
π COPYRIGHT π
2009-present, MongoDB, Inc. π
and that's the whole page bestie, no more notes, no SEE ALSO, nothing hiding at the bottom π§
mwah π β this has been libbson version 2.5.6, dated Oct 09, 2026, signing off βπ
π¦ 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