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