Assignment operators
Declared in <bdljsn_json.h>
Assign to this object the value of the specified rhs.
Json&
operator=(Json const& rhs);
» more...
Same as the related overload above for operator=.
Json&
operator=(bdldfp::Decimal64 rhs);
» more...
Assign to this object a boolean initialized from rhs.
Json&
operator=(bool rhs);
» more...
Same as the related overload above for operator=.
Json&
operator=(double rhs);
» more...
Same as the related overload above for operator=.
Json&
operator=(float rhs);
» more...
Same as the related overload above for operator=.
Json&
operator=(int rhs);
» more...
Same as the related overload above for operator=.
Json&
operator=(long rhs);
» more...
Same as the related overload above for operator=.
Json&
operator=(long long rhs);
» more...
Same as the related overload above for operator=.
Json&
operator=(unsigned int rhs);
» more...
Same as the related overload above for operator=.
Json&
operator=(unsigned long rhs);
» more...
Same as the related overload above for operator=.
Json&
operator=(unsigned long long rhs);
» more...
Assign to this object by moving from the specified rhs.
Json&
operator=(bslmf::MovableRef<Json> rhs);
» more...
Assign to this object by moving from the specified rhs array.
Json&
operator=(bslmf::MovableRef<JsonArray> rhs);
» more...
Assign to this object the JsonNull singleton value by move.
Json&
operator=(bslmf::MovableRef<JsonNull> rhs);
» more...
Assign to this object by moving from the specified rhs number.
Json&
operator=(bslmf::MovableRef<JsonNumber> rhs);
» more...
Assign to this object by moving from the specified rhs object.
Json&
operator=(bslmf::MovableRef<JsonObject> rhs);
» more...
Assign to this object an array initialized from rhs.
Json&
operator=(JsonArray const& rhs);
» more...
Assign to this object the JsonNull singleton value.
Json&
operator=(JsonNull const& rhs);
» more...
Assign to this object a JsonNumber initialized from rhs.
Json&
operator=(JsonNumber const& rhs);
» more...
Assign to this object an object initialized from rhs.
Json&
operator=(JsonObject const& rhs);
» more...
Same as the related overload above for operator=.
Json&
operator=(std::string_view const& rhs);
» more...
Assign to this object a string initialized from rhs.
Json&
operator=(char const* rhs);
» more...
Assign to this object by moving from the specified rhs string.
template<class t_STRING_TYPE>
Json&
operator=(BloombergLP::bslmf::MovableRef_Deduced<t_STRING_TYPE> rhs)
requires bsl::is_same<t_STRING_TYPE, bsl::string>::value;
» more...
a reference providing modifiable access to this object
| Name | Description |
|---|---|
| rhs | source value |