MCPcopy Create free account
hub / github.com/InteractiveComputerGraphics/SPlisHSPlasH / start_object

Function start_object

extern/json/json.hpp:6801–6811  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

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

Callers

nothing calls this directly

Calls 5

createFunction · 0.70
concatFunction · 0.70
to_stringFunction · 0.70
push_backMethod · 0.45
max_sizeMethod · 0.45

Tested by

no test coverage detected