MCPcopy Create free account
hub / github.com/Open-GD/OpenGD / start_object

Function start_object

Source/external/json.hpp:6797–6807  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

6795 }
6796
6797 bool start_object(std::size_t len)
6798 {
6799 ref_stack.push_back(handle_value(BasicJsonType::value_t::object));
6800
6801 if (JSON_HEDLEY_UNLIKELY(len != static_cast<std::size_t>(-1) && len > ref_stack.back()->max_size()))
6802 {
6803 JSON_THROW(out_of_range::create(408, concat("excessive object size: ", std::to_string(len)), ref_stack.back()));
6804 }
6805
6806 return true;
6807 }
6808
6809 bool key(string_t& val)
6810 {

Callers

nothing calls this directly

Calls 3

createFunction · 0.85
concatFunction · 0.85
to_stringFunction · 0.70

Tested by

no test coverage detected