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