BDE 4.39.x Production Release
Loading...
Searching...
No Matches
bdljsn::Json_StringInvariantGuard Class Reference

#include <bdljsn_json.h>

Detailed Description

This is a component-private guard class.

See bdljsn_json

Public Member Functions

 Json_StringInvariantGuard (bsl::string *string)
 
 ~Json_StringInvariantGuard () BSLS_KEYWORD_NOEXCEPT_SPECIFICATION(false)
 

Constructor & Destructor Documentation

◆ Json_StringInvariantGuard()

bdljsn::Json_StringInvariantGuard::Json_StringInvariantGuard ( bsl::string string)
inlineexplicit

Create an object that guards the invariant (valid UTF-8) of the JSON string at the specified string.

◆ ~Json_StringInvariantGuard()

bdljsn::Json_StringInvariantGuard::~Json_StringInvariantGuard ( )
inline

Validate the JSON string specified on construction using BSLS_ASSERT and destroy this guard object.


The documentation for this class was generated from the following file: