[#BloombergLP-baljsn-JsonParserUtil-getValue-05d] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/baljsn.adoc[baljsn]::xref:BloombergLP/baljsn/JsonParserUtil.adoc[JsonParserUtil]::getValue :relfileprefix: ../../../ :mrdocs: Load into the specified `value` the number from the specified `json`. == Synopsis Declared in `<baljsn_jsonparserutil.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- static int getValue( float* value, xref:BloombergLP/bdljsn/Json.adoc[bdljsn::Json] const& json); ---- == Description 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. == Return Value 0 on success, and a non‐zero value otherwise == Parameters [cols="1,4"] |=== | Name| Description | *value* | receives the parsed float | *json* | JSON object supplying the value |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#