[#BloombergLP-baljsn-ParserUtil-getValue-06c] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/baljsn.adoc[baljsn]::xref:BloombergLP/baljsn/ParserUtil.adoc[ParserUtil]::getValue :relfileprefix: ../../../ :mrdocs: Load a quoted JSON string into `value`. == Synopsis Declared in `<baljsn_parserutil.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- static int getValue( xref:bsl/string.adoc[bsl::string]* value, std::string_view const& data); ---- == Description Load into the specified `value` the string value in the specified `data`. The string must be begin and end in `"` characters which are not part of the resulting `value`. Return 0 on success and a non‐zero value otherwise. == Return Value 0 on success, and a non‐zero value otherwise == Parameters [cols="1,4"] |=== | Name| Description | *value* | receives the unquoted string | *data* | JSON text containing a quoted string |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#