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