addValue overloads
Declared in <baljsn_simpleformatter.h>
Print the specified value onto the stream.
template<class TYPE>
int
addValue(TYPE const& value);
» more...
Print the specified name and value onto the stream.
template<class TYPE>
int
addValue(
std::string_view const& name,
TYPE const& value);
» more...
0 on success, and a non-zero value otherwise
| Name | Description |
|---|---|
| value | value to encode as JSON |
| name | member name for the value |