BloombergLP::bdljsn::Json::operator=

Assign to this object the value of the specified rhs.

Synopsis

Declared in <bdljsn_json.h>

Json&
operator=(Json const& rhs);

Description

Assign to this object the value of the specified rhs object, and return a reference providing modifiable access to this object. The value currently held by this variant is destroyed if that value's type is not the same as the type held by the rhs object.

Return Value

a reference providing modifiable access to this object

Parameters

NameDescription
rhssource value