Print onto the stream supplied at construction the sequence of characters designating the start of an object (referred to as an "object" in JSON) with the specified name , preceded, if necessary, by a comma. The behavior is undefined unless isNameNeeded() is true.

Synopsis

Declared in <baljsn_simpleformatter.h>

void
openObject(std::string_view const& name);

Created with MrDocs