Reads in a BSON-object and passes it to the SAX-parser.
8543 {
8544 std::int32_t document_size{};
8545 get_number<std::int32_t, true>(input_format_t::bson, document_size);
8546
8547 if (JSON_HEDLEY_UNLIKELY(!
sax->start_object(std::size_t(-1))))
8548 {
8549 return false;
8550 }
8551
8553 {
8554 return false;
8555 }
8556
8557 return sax->end_object();
8558 }
bool parse_bson_element_list(const bool is_array)
Read a BSON element list (as specified in the BSON-spec)
json_sax_t * sax
the SAX parser