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