[#BloombergLP-baljsn-EncodeImplUtil-encodeMember-0e]
= xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/baljsn.adoc[baljsn]::xref:BloombergLP/baljsn/EncodeImplUtil.adoc[EncodeImplUtil]::encodeMember
:relfileprefix: ../../../
:mrdocs:

Same as the preceding `encodeMember` overload for the specified `category`&period;

== Synopsis

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

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
template&lt;
    class TYPE,
    class OTHER&lowbar;CATEGORY&gt;
static
int
encodeMember(
    bool* isMemberEmpty,
    FORMATTER* formatter,
    std::ostream* logStream,
    std::string&lowbar;view const& memberName,
    TYPE const& member,
    xref:BloombergLP/baljsn/EncodeImplUtil/FormattingMode.adoc[FormattingMode] formattingMode,
    xref:BloombergLP/baljsn/EncoderOptions.adoc[EncoderOptions] const& options,
    bool isFirstMember,
    OTHER&lowbar;CATEGORY category);
----


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