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