MCPcopy Create free account
hub / github.com/CppCXY/EmmyLuaCodeStyle / find

Function find

3rd/nlohmann_json/include/nlohmann/json.hpp:4526–4536  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

4524 */
4525 template<typename KeyT>
4526 iterator find(KeyT&& key)
4527 {
4528 auto result = end();
4529
4530 if (is_object())
4531 {
4532 result.m_it.object_iterator = m_value.object->find(std::forward<KeyT>(key));
4533 }
4534
4535 return result;
4536 }
4537
4538 /*!
4539 @brief find an element in a JSON object

Callers 9

valueFunction · 0.70
dump_floatFunction · 0.50
ValidateTestPropertyNameFunction · 0.50
OutputXmlAttributeMethod · 0.50
OutputJsonKeyMethod · 0.50
eraseMethod · 0.50
read_untilFunction · 0.50
operator()Method · 0.50
operator()Method · 0.50

Calls 4

endFunction · 0.70
is_objectFunction · 0.70
cendFunction · 0.70
findMethod · 0.45

Tested by 3

ValidateTestPropertyNameFunction · 0.40
OutputXmlAttributeMethod · 0.40
OutputJsonKeyMethod · 0.40