Load into the specified value the number from the specified json.
Declared in <baljsn_jsonparserutil.h>
static
int
getValue(
double* value,
bdljsn::Json const& json);
Return 0 on success or a non-zero value on failure. The behavior is undefined unless json.isNumber() or json.isString() if the value is INF, -INF, or NaN.
0 on success, and a non-zero value otherwise
| Name | Description |
|---|---|
| value | receives the parsed double |
| json | JSON object supplying the value |