[#BloombergLP-bdljsn-Json_StringInvariantGuard-2constructor] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bdljsn.adoc[bdljsn]::xref:BloombergLP/bdljsn/Json_StringInvariantGuard.adoc[Json_StringInvariantGuard]::Json_StringInvariantGuard :relfileprefix: ../../../ :mrdocs: Create an object that guards the invariant (valid UTF‐8) of the JSON string at the specified `string`. == Synopsis Declared in `<bdljsn_json.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- explicit Json_StringInvariantGuard(xref:bsl/string.adoc[bsl::string]* string); ---- [.small]#Created with https://www.mrdocs.com[MrDocs]#