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

Function key

extern/json/json.hpp:6813–6821  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

6811 }
6812
6813 bool key(string_t& val)
6814 {
6815 JSON_ASSERT(!ref_stack.empty());
6816 JSON_ASSERT(ref_stack.back()->is_object());
6817
6818 // add null at given key and store the reference for later
6819 object_element = &(ref_stack.back()->m_value.object->operator[](val));
6820 return true;
6821 }
6822
6823 bool end_object()
6824 {

Callers 1

KeyValueClass · 0.85

Calls 2

emptyMethod · 0.45
operator[]Method · 0.45

Tested by

no test coverage detected