[#BloombergLP-baljsn-JsonFormatter-openMember]
= xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/baljsn.adoc[baljsn]::xref:BloombergLP/baljsn/JsonFormatter.adoc[JsonFormatter]::openMember
:relfileprefix: ../../../
:mrdocs:

Create a new object member having the specified `name`&period; Return 0 on success and a non&hyphen;zero value otherwise&period; An error is returned if `name` contains a non&hyphen;UTF8 character&period;

== Synopsis

Declared in `&lt;baljsn&lowbar;jsonformatter&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
int
openMember(std::string&lowbar;view const& name);
----


[.small]#Created with https://www.mrdocs.com[MrDocs]#
