BloombergLP::bdljsn::Json::theNumber

Return a non-modifiable reference to the held JsonNumber.

Synopsis

Declared in <bdljsn_json.h>

JsonNumber const&
theNumber() const;

Description

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

Return Value

non-modifiable reference to the held JsonNumber