| 22076 | */ |
| 22077 | template<typename KeyT> |
| 22078 | size_type count(KeyT&& key) const |
| 22079 | { |
| 22080 | // return 0 for all nonobject types |
| 22081 | return is_object() ? m_value.object->count(std::forward<KeyT>(key)) : 0; |
| 22082 | } |
| 22083 | |
| 22084 | /*! |
| 22085 | @brief check the existence of an element in a JSON object |