[#BloombergLP-bdljsn-JsonObject-contains] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bdljsn.adoc[bdljsn]::xref:BloombergLP/bdljsn/JsonObject.adoc[JsonObject]::contains :relfileprefix: ../../../ :mrdocs: Return `true` if there is a `Member` object in this `JsonObject` with a key equivalent to the specified `key`, and return `false` otherwise. == Synopsis Declared in `<bdljsn_json.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- bool contains(std::string_view const& key) const; ---- == Return Value `true` if a member with the specified `key` is present, and `false` otherwise == Parameters [cols="1,4"] |=== | Name| Description | *key* | UTF‐8 member name |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#