MCPcopy Create free account
hub / github.com/bytedance/Fastbot_Android / count

Function count

native/thirdpart/json/json.hpp:18571–18575  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

18569 */
18570 template<typename KeyT>
18571 size_type count(KeyT&& key) const
18572 {
18573 // return 0 for all nonobject types
18574 return is_object() ? m_value.object->count(std::forward<KeyT>(key)) : 0;
18575 }
18576
18577 /*!
18578 @brief check the existence of an element in a JSON object

Callers 1

XpathMethod · 0.85

Calls 1

is_objectFunction · 0.85

Tested by

no test coverage detected