theNumber overloads

Synopses

Declared in <bdljsn_json.h>

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

Return a non‐modifiable reference to the held JsonNumber.

JsonNumber const&
theNumber() const;

Return Value

  • reference providing modifiable access to the value of type JsonNumber held by this object

  • non‐modifiable reference to the held JsonNumber

Created with MrDocs