[#BloombergLP-baljsn-SimpleFormatter-openObject-02] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/baljsn.adoc[baljsn]::xref:BloombergLP/baljsn/SimpleFormatter.adoc[SimpleFormatter]::openObject :relfileprefix: ../../../ :mrdocs: Print onto the stream supplied at construction the sequence of characters designating the start of an object (referred to as an "object" in JSON) with the specified `name` , preceded, if necessary, by a comma. The behavior is undefined unless `isNameNeeded()` is `true`. == Synopsis Declared in `<baljsn_simpleformatter.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- void openObject(std::string_view const& name); ---- [.small]#Created with https://www.mrdocs.com[MrDocs]#