BloombergLP::bdljsn::Json::operator=

Assign to this object a JsonNumber initialized from rhs.

Synopsis

Declared in <bdljsn_json.h>

Json&
operator=(JsonNumber const& rhs);

Description

Assign to this object a value of type JsonNumber initialized from the specified rhs, and return a reference providing modifiable access to this object. The value currently held by this object (if any) is destroyed if that value's type is not JsonNumber.

Return Value

a reference providing modifiable access to this object

Parameters

NameDescription
rhssource value