9534 {
9535 if (JSON_HEDLEY_UNLIKELY(!
sax->start_object(len)))
9536 {
9537 return false;
9538 }
9539
9540 if (len != 0)
9541 {
9543
9544 if (len != std::size_t(-1))
9545 {
9546 for (std::size_t i = 0; i < len; ++i)
9547 {
9549
9551 {
9552 return false;
9553 }
9554
9556 {
9557 return false;
9558 }
9559
9561 }
9562 }
9563
9564 else
9565 {
9566 while (
get() != 0xFF)
9567 {
9569 {
9570 return false;
9571 }
9572
9574 {
9575 return false;
9576 }
9577
9579 }
9580 }
9581 }
9582
9583 return sax->end_object();
9584 }
bool parse_cbor_internal(const bool get_char, const cbor_tag_handler_t tag_handler)
bool get_cbor_string(string_t &result)
reads a CBOR string
json_sax_t * sax
the SAX parser
char_int_type get()
get next character from the input
@ key
the parser read a key of a value in an object