check the existence of an element in a JSON object
Synopsis
Declared in <nlohmann/json.hpp>
bool
contains(object_t::key_type const& key) const;
Return Value
whether the JSON object contains an element with the given key
Parameters
Name |
Description |
key |
key to check for |
Created with MrDocs