nlohmann
::
basic_json
::contains
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;
Parameters
Name
Description
ptr
JSON Pointer, see
nlohmann::json_pointer
Created with
MrDocs