[#BloombergLP-bdljsn-Json-operator_assign-0b6] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bdljsn.adoc[bdljsn]::xref:BloombergLP/bdljsn/Json.adoc[Json]::operator= :relfileprefix: ../../../ :mrdocs: Assign to this object a value of type `bsl::string` 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 `bsl::string`. The behavior is undefined unless `rhs` is valid UTF‐8 (see `bdlde::Utf8Util::isValid`). == Synopsis Declared in `<bdljsn_json.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- xref:BloombergLP/bdljsn/Json.adoc[Json]& operator=(char const* rhs); ---- [.small]#Created with https://www.mrdocs.com[MrDocs]#