Return a non‐modifiable reference to the held string.

Synopsis

Declared in <bdljsn_json.h>

explicit
operator bsl::string const&() const;

Description

Return a reference providing non‐modifiable access to the value of type JsonString held by this object. The behavior is undefined unless isString() returns true.

Return Value

a non‐modifiable reference to the held string

Created with MrDocs