[#BloombergLP-baljsn-SimpleFormatter-addMemberName] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/baljsn.adoc[baljsn]::xref:BloombergLP/baljsn/SimpleFormatter.adoc[SimpleFormatter]::addMemberName :relfileprefix: ../../../ :mrdocs: Print onto the stream supplied at construction the specified `name` in double‐quotes, preceded, if necessary, by a comma, and followed by a `:`. The behavior is undefined unless `isNameNeeded()` is `true`. After this operation, `isNameNeeded()` will be `false`, and an immediately subsequent attempt to add a value (or open an object or array) should not provide a name. == Synopsis Declared in `<baljsn_simpleformatter.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- void addMemberName(std::string_view const& name); ---- [.small]#Created with https://www.mrdocs.com[MrDocs]#