MCPcopy Create free account
hub / github.com/bytedance/Fastbot_Android / start_array

Method start_array

native/thirdpart/json/json.hpp:4540–4551  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

4538 }
4539
4540 bool start_array(std::size_t len)
4541 {
4542 ref_stack.push_back(handle_value(BasicJsonType::value_t::array));
4543
4544 if (JSON_HEDLEY_UNLIKELY(len != std::size_t(-1) and len > ref_stack.back()->max_size()))
4545 {
4546 JSON_THROW(out_of_range::create(408,
4547 "excessive array size: " + std::to_string(len)));
4548 }
4549
4550 return true;
4551 }
4552
4553 bool end_array()
4554 {

Callers

nothing calls this directly

Calls 3

createFunction · 0.85
to_stringFunction · 0.85
push_backMethod · 0.80

Tested by

no test coverage detected