Return whether a subsequent value must supply a name.
Synopsis
Declared in <baljsn_simpleformatter.h>
bool
isNameNeeded() const;
Description
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.
Return Value
true if a subsequent value must supply a name, and false otherwise
Created with MrDocs