| 351 | } |
| 352 | |
| 353 | JSONCONS_VISITOR_RETURN_TYPE visit_begin_array(semantic_tag, const ser_context&, std::error_code& ec) override |
| 354 | { |
| 355 | if (JSONCONS_UNLIKELY(++nesting_depth_ > max_nesting_depth_)) |
| 356 | { |
| 357 | ec = cbor_errc::max_nesting_depth_exceeded; |
| 358 | JSONCONS_VISITOR_RETURN; |
| 359 | } |
| 360 | stack_.emplace_back(cbor_container_type::indefinite_length_array); |
| 361 | sink_.push_back(0x9f); |
| 362 | JSONCONS_VISITOR_RETURN; |
| 363 | } |
| 364 | |
| 365 | JSONCONS_VISITOR_RETURN_TYPE visit_begin_array(std::size_t length, semantic_tag, const ser_context&, std::error_code& ec) override |
| 366 | { |
no test coverage detected