[#BloombergLP-baljsn-SimpleFormatter-isNameNeeded] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/baljsn.adoc[baljsn]::xref:BloombergLP/baljsn/SimpleFormatter.adoc[SimpleFormatter]::isNameNeeded :relfileprefix: ../../../ :mrdocs: Return `true` if a subsequent attempt to add a value must supply a `name`, and `false` otherwise. This will be `true` if `isFormattingObject()` is `true`, and `addMemberName()` was not the most recently called manipulator. That is, a name is needed if this formatter is currently in the context of formatting the members of a JSON object, and `addMemberName` has not been called to explicitly provide a name for the next member. == Synopsis Declared in `<baljsn_simpleformatter.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- bool isNameNeeded() const; ---- [.small]#Created with https://www.mrdocs.com[MrDocs]#