bson_new_from_json(3) on Linux
The text a6afe23630c4, as Debian 9 (Stretch) shipped it.
The bson_new_from_json() function allocates and initialize a new bson_t by parsing the JSON found in data. Only a single JSON object may exist in data or an error will be set and NULL returned.