9495 {
9496 if (JSON_HEDLEY_UNLIKELY(!
sax->start_array(len)))
9497 {
9498 return false;
9499 }
9500
9501 if (len != std::size_t(-1))
9502 {
9503 for (std::size_t i = 0; i < len; ++i)
9504 {
9506 {
9507 return false;
9508 }
9509 }
9510 }
9511
9512 else
9513 {
9514 while (
get() != 0xFF)
9515 {
9517 {
9518 return false;
9519 }
9520 }
9521 }
9522
9523 return sax->end_array();
9524 }
bool parse_cbor_internal(const bool get_char, const cbor_tag_handler_t tag_handler)
json_sax_t * sax
the SAX parser
char_int_type get()
get next character from the input