BloombergLP::bdljsn::Json_StringInvariantGuard

This is a component-private guard class.

Synopsis

Declared in <bdljsn_json.h>

class Json_StringInvariantGuard;

Member Functions

NameDescription
Json_StringInvariantGuard [constructor]Create an object that guards the invariant (valid UTF-8) of the JSON string at the specified string.
~Json_StringInvariantGuard [destructor]Validate the JSON string specified on construction using BSLS_ASSERT and destroy this guard object.