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

Function find

3rd/nlohmann_json/single_include/nlohmann/json.hpp:22027–22037  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

22025 */
22026 template<typename KeyT>
22027 iterator find(KeyT&& key)
22028 {
22029 auto result = end();
22030
22031 if (is_object())
22032 {
22033 result.m_it.object_iterator = m_value.object->find(std::forward<KeyT>(key));
22034 }
22035
22036 return result;
22037 }
22038
22039 /*!
22040 @brief find an element in a JSON object

Callers 2

dump_floatFunction · 0.70
valueFunction · 0.70

Calls 4

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

Tested by

no test coverage detected