MCPcopy Create free account
hub / github.com/BehaviorTree/BehaviorTree.CPP / start_object

Function start_object

include/behaviortree_cpp/contrib/json.hpp:6866–6876  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

6864 }
6865
6866 bool start_object(std::size_t len)
6867 {
6868 ref_stack.push_back(handle_value(BasicJsonType::value_t::object));
6869
6870 if (JSON_HEDLEY_UNLIKELY(len != static_cast<std::size_t>(-1) && len > ref_stack.back()->max_size()))
6871 {
6872 JSON_THROW(out_of_range::create(408, concat("excessive object size: ", std::to_string(len)), ref_stack.back()));
6873 }
6874
6875 return true;
6876 }
6877
6878 bool key(string_t& val)
6879 {

Callers

nothing calls this directly

Calls 4

createFunction · 0.85
concatFunction · 0.85
push_backMethod · 0.80
to_stringFunction · 0.70

Tested by

no test coverage detected