Return a non‐modifiable reference to the held string.

Synopsis

Declared in <bdljsn_json.h>

bsl::string const&
theString() 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

non‐modifiable reference to the held string

Created with MrDocs