Print a null JSON value with the specified name.
Declared in <baljsn_simpleformatter.h>
void
addNullValue(std::string_view const& name);
Print onto the stream supplied at construction the value corresponding to a null element with the specified name, preceded, if necessary, by a comma. The behavior is undefined unless isNameNeeded() is true.
| Name | Description |
|---|---|
| name | member name for the null value |