Same as the preceding overload, accepting a nullable options pointer.
Declared in <baljsn_decoder.h>
template<class TYPE>
int
decode(
std::streambuf* streamBuf,
TYPE* value,
DecoderOptions const* options);
0 on success, and a non-zero value otherwise
| Name | Description |
|---|---|
| streamBuf | input buffer supplying JSON |
| value | object to decode into |
| options | decoding options; null uses defaults |