[#BloombergLP-bdljsn-Json_StringInvariantGuard] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bdljsn.adoc[bdljsn]::Json_StringInvariantGuard :relfileprefix: ../../ :mrdocs: This is a component‐private guard class. == Synopsis Declared in `<bdljsn_json.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- class Json_StringInvariantGuard; ---- == Member Functions [cols="1,4"] |=== | Name| Description | xref:BloombergLP/bdljsn/Json_StringInvariantGuard/2constructor.adoc[`Json_StringInvariantGuard`] [.small]#[constructor]# | Create an object that guards the invariant (valid UTF‐8) of the JSON string at the specified `string`. | xref:BloombergLP/bdljsn/Json_StringInvariantGuard/2destructor.adoc[`~Json_StringInvariantGuard`] [.small]#[destructor]# | Validate the JSON string specified on construction using `BSLS_ASSERT` and destroy this guard object. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#