## Implementation Note This function purposefully ignores the EncodeEmptyArrays option in the specified options and always encodes the value of the specified member array. The caller is responsible for checking the value of this option and deciding whether to obey the option or not. Callers that encode array-valued attributes of sequences must always obey the option. Callers that encode array-valued selections of choices must never obey the option, and must always encode the array value.
Declared in <baljsn_encodeimplutil.h>
template<class TYPE>
static
int
encodeMember(
bool* isMemberEmpty,
FORMATTER* formatter,
std::ostream* logStream,
std::string_view const& memberName,
TYPE const& member,
FormattingMode formattingMode,
EncoderOptions const& options,
bool isFirstMember,
bdlat_TypeCategory::Array category);