Print onto the stream supplied at construction the specified value.
Declared in <baljsn_formatter.h>
template<class TYPE>
int
putValue(
TYPE const& value,
EncoderOptions const* options = 0);
Optionally specify options according which value should be encoded. Return 0 on success and a non-zero value otherwise.
0 on success and a non-zero value otherwise
| Name | Description |
|---|---|
| value | value to encode as JSON |
| options | optional encoding options; null uses defaults |