| 4608 | template < typename KeyT, typename std::enable_if < |
| 4609 | !std::is_same<typename std::decay<KeyT>::type, json_pointer>::value, int >::type = 0 > |
| 4610 | bool contains(KeyT && key) const |
| 4611 | { |
| 4612 | return is_object() && m_value.object->find(std::forward<KeyT>(key)) != m_value.object->end(); |
| 4613 | } |
| 4614 | |
| 4615 | /*! |
| 4616 | @brief check the existence of an element in a JSON object given a JSON pointer |