Decode into the specified value without instantiating templates at compile time. Return 0 on success, and a non-zero value otherwise.
Declared in <baljsn_decoder.h>
int
decodeAny(
std::streambuf* streamBuf,
bdlar::AnyRef* value,
DecoderOptions const& options);
0 on success, and a non-zero value otherwise
| Name | Description |
|---|---|
| streamBuf | input buffer supplying JSON |
| value | type-erased object to decode into |
| options | decoding options |