[#BloombergLP-baljsn-JsonParserUtil-getValue-005] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/baljsn.adoc[baljsn]::xref:BloombergLP/baljsn/JsonParserUtil.adoc[JsonParserUtil]::getValue :relfileprefix: ../../../ :mrdocs: `getValue` overloads == Synopses Declared in `<baljsn_jsonparserutil.h>` Load into the specified `value` the characters read from the specified `data`. Return 0 on success or a non‐zero value on failure. The behavior is undefined unless 'json.isString())' [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- static int xref:BloombergLP/baljsn/JsonParserUtil/getValue-0a6.adoc[getValue]( xref:BloombergLP/bdlt/Date.adoc[bdlt::Date]* value, xref:BloombergLP/bdljsn/Json.adoc[bdljsn::Json] const& json); ---- [.small]#xref:BloombergLP/baljsn/JsonParserUtil/getValue-0a6.adoc[_» more..._]# Load into the specified `value` the characters read from the specified `data`. Return 0 on success or a non‐zero value on failure. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- static int xref:BloombergLP/baljsn/JsonParserUtil/getValue-07.adoc[getValue]( xref:BloombergLP/baljsn/ParserUtil/DateOrDateTz.adoc[ParserUtil::DateOrDateTz]* value, xref:BloombergLP/bdljsn/Json.adoc[bdljsn::Json] const& json); ---- [.small]#xref:BloombergLP/baljsn/JsonParserUtil/getValue-07.adoc[_» more..._]# Load into the specified `value` the characters read from the specified `data`. Return 0 on success or a non‐zero value on failure. The behavior is undefined unless 'json.isString())' [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- static int xref:BloombergLP/baljsn/JsonParserUtil/getValue-09b.adoc[getValue]( xref:BloombergLP/bdlt/DateTz.adoc[bdlt::DateTz]* value, xref:BloombergLP/bdljsn/Json.adoc[bdljsn::Json] const& json); ---- [.small]#xref:BloombergLP/baljsn/JsonParserUtil/getValue-09b.adoc[_» more..._]# Load into the specified `value` the characters read from the specified `data`. Return 0 on success or a non‐zero value on failure. The behavior is undefined unless 'json.isString())' [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- static int xref:BloombergLP/baljsn/JsonParserUtil/getValue-01.adoc[getValue]( xref:BloombergLP/bdlt/Datetime.adoc[bdlt::Datetime]* value, xref:BloombergLP/bdljsn/Json.adoc[bdljsn::Json] const& json); ---- [.small]#xref:BloombergLP/baljsn/JsonParserUtil/getValue-01.adoc[_» more..._]# Load into the specified `value` the characters read from the specified `data`. Return 0 on success or a non‐zero value on failure. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- static int xref:BloombergLP/baljsn/JsonParserUtil/getValue-088.adoc[getValue]( xref:BloombergLP/baljsn/ParserUtil/DatetimeOrDatetimeTz.adoc[ParserUtil::DatetimeOrDatetimeTz]* value, xref:BloombergLP/bdljsn/Json.adoc[bdljsn::Json] const& json); ---- [.small]#xref:BloombergLP/baljsn/JsonParserUtil/getValue-088.adoc[_» more..._]# Load into the specified `value` the characters read from the specified `data`. Return 0 on success or a non‐zero value on failure. The behavior is undefined unless 'json.isString())' [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- static int xref:BloombergLP/baljsn/JsonParserUtil/getValue-0bb.adoc[getValue]( xref:BloombergLP/bdlt/DatetimeTz.adoc[bdlt::DatetimeTz]* value, xref:BloombergLP/bdljsn/Json.adoc[bdljsn::Json] const& json); ---- [.small]#xref:BloombergLP/baljsn/JsonParserUtil/getValue-0bb.adoc[_» more..._]# Load into the specified `value` the characters read from the specified `data`. 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. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- static int xref:BloombergLP/baljsn/JsonParserUtil/getValue-0ee.adoc[getValue]( xref:BloombergLP/bdldfp/Decimal64.adoc[bdldfp::Decimal64]* value, xref:BloombergLP/bdljsn/Json.adoc[bdljsn::Json] const& json); ---- [.small]#xref:BloombergLP/baljsn/JsonParserUtil/getValue-0ee.adoc[_» more..._]# Load into the specified `value` the characters read from the specified `data`. Return 0 on success or a non‐zero value on failure. The behavior is undefined unless 'json.isNumber())' [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- static int xref:BloombergLP/baljsn/JsonParserUtil/getValue-0b3.adoc[getValue]( xref:BloombergLP/bsls/Types/Int64.adoc[bsls::Types::Int64]* value, xref:BloombergLP/bdljsn/Json.adoc[bdljsn::Json] const& json); ---- [.small]#xref:BloombergLP/baljsn/JsonParserUtil/getValue-0b3.adoc[_» more..._]# Load into the specified `value` the characters read from the specified `data`. Return 0 on success or a non‐zero value on failure. The behavior is undefined unless 'json.isString())' [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- static int xref:BloombergLP/baljsn/JsonParserUtil/getValue-009.adoc[getValue]( xref:BloombergLP/bdlt/Time.adoc[bdlt::Time]* value, xref:BloombergLP/bdljsn/Json.adoc[bdljsn::Json] const& json); ---- [.small]#xref:BloombergLP/baljsn/JsonParserUtil/getValue-009.adoc[_» more..._]# Load into the specified `value` the characters read from the specified `data`. Return 0 on success or a non‐zero value on failure. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- static int xref:BloombergLP/baljsn/JsonParserUtil/getValue-03.adoc[getValue]( xref:BloombergLP/baljsn/ParserUtil/TimeOrTimeTz.adoc[ParserUtil::TimeOrTimeTz]* value, xref:BloombergLP/bdljsn/Json.adoc[bdljsn::Json] const& json); ---- [.small]#xref:BloombergLP/baljsn/JsonParserUtil/getValue-03.adoc[_» more..._]# Load into the specified `value` the characters read from the specified `data`. Return 0 on success or a non‐zero value on failure. The behavior is undefined unless 'json.isString())' [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- static int xref:BloombergLP/baljsn/JsonParserUtil/getValue-02b.adoc[getValue]( xref:BloombergLP/bdlt/TimeTz.adoc[bdlt::TimeTz]* value, xref:BloombergLP/bdljsn/Json.adoc[bdljsn::Json] const& json); ---- [.small]#xref:BloombergLP/baljsn/JsonParserUtil/getValue-02b.adoc[_» more..._]# Load into the specified `value` the characters read from the specified `data`. Return 0 on success or a non‐zero value on failure. The behavior is undefined unless 'json.isNumber())' [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- static int xref:BloombergLP/baljsn/JsonParserUtil/getValue-053.adoc[getValue]( xref:BloombergLP/bsls/Types/Uint64.adoc[bsls::Types::Uint64]* value, xref:BloombergLP/bdljsn/Json.adoc[bdljsn::Json] const& json); ---- [.small]#xref:BloombergLP/baljsn/JsonParserUtil/getValue-053.adoc[_» more..._]# Load into the specified `value` the characters read from the specified `data`. Return 0 on success or a non‐zero value on failure. The behavior is undefined unless 'json.isBoolean())' [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- static int xref:BloombergLP/baljsn/JsonParserUtil/getValue-00c.adoc[getValue]( bool* value, xref:BloombergLP/bdljsn/Json.adoc[bdljsn::Json] const& json); ---- [.small]#xref:BloombergLP/baljsn/JsonParserUtil/getValue-00c.adoc[_» more..._]# Load into the specified `value` the characters read from the specified `data`. Return 0 on success or a non‐zero value on failure. The behavior is undefined unless 'json.isNumber())' [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- static int xref:BloombergLP/baljsn/JsonParserUtil/getValue-08a.adoc[getValue]( char* value, xref:BloombergLP/bdljsn/Json.adoc[bdljsn::Json] const& json); ---- [.small]#xref:BloombergLP/baljsn/JsonParserUtil/getValue-08a.adoc[_» more..._]# Load into the specified `value` the characters read from the specified `data`. 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. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- static int xref:BloombergLP/baljsn/JsonParserUtil/getValue-0ba.adoc[getValue]( double* value, xref:BloombergLP/bdljsn/Json.adoc[bdljsn::Json] const& json); ---- [.small]#xref:BloombergLP/baljsn/JsonParserUtil/getValue-0ba.adoc[_» more..._]# Load into the specified `value` the characters read from the specified `data`. 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. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- static int xref:BloombergLP/baljsn/JsonParserUtil/getValue-05d.adoc[getValue]( float* value, xref:BloombergLP/bdljsn/Json.adoc[bdljsn::Json] const& json); ---- [.small]#xref:BloombergLP/baljsn/JsonParserUtil/getValue-05d.adoc[_» more..._]# Load into the specified `value` the characters read from the specified `data`. Return 0 on success or a non‐zero value on failure. The behavior is undefined unless 'json.isNumber())' [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- static int xref:BloombergLP/baljsn/JsonParserUtil/getValue-0a2.adoc[getValue]( int* value, xref:BloombergLP/bdljsn/Json.adoc[bdljsn::Json] const& json); ---- [.small]#xref:BloombergLP/baljsn/JsonParserUtil/getValue-0a2.adoc[_» more..._]# Load into the specified `value` the characters read from the specified `data`. Return 0 on success or a non‐zero value on failure. The behavior is undefined unless 'json.isNumber())' [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- static int xref:BloombergLP/baljsn/JsonParserUtil/getValue-094.adoc[getValue]( short* value, xref:BloombergLP/bdljsn/Json.adoc[bdljsn::Json] const& json); ---- [.small]#xref:BloombergLP/baljsn/JsonParserUtil/getValue-094.adoc[_» more..._]# Load into the specified `value` the characters read from the specified `data`. Return 0 on success or a non‐zero value on failure. The behavior is undefined unless 'json.isNumber())' [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- static int xref:BloombergLP/baljsn/JsonParserUtil/getValue-0b8.adoc[getValue]( signed char* value, xref:BloombergLP/bdljsn/Json.adoc[bdljsn::Json] const& json); ---- [.small]#xref:BloombergLP/baljsn/JsonParserUtil/getValue-0b8.adoc[_» more..._]# Load into the specified `value` the characters read from the specified `data`. Return 0 on success or a non‐zero value on failure. The behavior is undefined unless 'json.isString())' [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- static int xref:BloombergLP/baljsn/JsonParserUtil/getValue-02e.adoc[getValue]( xref:bsl/string.adoc[bsl::string]* value, xref:BloombergLP/bdljsn/Json.adoc[bdljsn::Json] const& json); ---- [.small]#xref:BloombergLP/baljsn/JsonParserUtil/getValue-02e.adoc[_» more..._]# Load into the specified `value` the characters read from the specified `data`. Return 0 on success or a non‐zero value on failure. The behavior is undefined unless 'json.isString())' [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- static int xref:BloombergLP/baljsn/JsonParserUtil/getValue-0d.adoc[getValue]( std::pmr::string* value, xref:BloombergLP/bdljsn/Json.adoc[bdljsn::Json] const& json); ---- [.small]#xref:BloombergLP/baljsn/JsonParserUtil/getValue-0d.adoc[_» more..._]# Load into the specified `value` the characters read from the specified `data`. Return 0 on success or a non‐zero value on failure. The behavior is undefined unless 'json.isString())' [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- static int xref:BloombergLP/baljsn/JsonParserUtil/getValue-029.adoc[getValue]( std::string* value, xref:BloombergLP/bdljsn/Json.adoc[bdljsn::Json] const& json); ---- [.small]#xref:BloombergLP/baljsn/JsonParserUtil/getValue-029.adoc[_» more..._]# Load into the specified `value` the characters read from the specified `data`. Return 0 on success or a non‐zero value on failure. The behavior is undefined unless 'json.isNumber())' [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- static int xref:BloombergLP/baljsn/JsonParserUtil/getValue-04c.adoc[getValue]( unsigned char* value, xref:BloombergLP/bdljsn/Json.adoc[bdljsn::Json] const& json); ---- [.small]#xref:BloombergLP/baljsn/JsonParserUtil/getValue-04c.adoc[_» more..._]# Load into the specified `value` the characters read from the specified `data`. Return 0 on success or a non‐zero value on failure. The behavior is undefined unless 'json.isNumber())' [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- static int xref:BloombergLP/baljsn/JsonParserUtil/getValue-06.adoc[getValue]( unsigned int* value, xref:BloombergLP/bdljsn/Json.adoc[bdljsn::Json] const& json); ---- [.small]#xref:BloombergLP/baljsn/JsonParserUtil/getValue-06.adoc[_» more..._]# Load into the specified `value` the characters read from the specified `data`. Return 0 on success or a non‐zero value on failure. The behavior is undefined unless 'json.isNumber())' [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- static int xref:BloombergLP/baljsn/JsonParserUtil/getValue-0ed.adoc[getValue]( unsigned short* value, xref:BloombergLP/bdljsn/Json.adoc[bdljsn::Json] const& json); ---- [.small]#xref:BloombergLP/baljsn/JsonParserUtil/getValue-0ed.adoc[_» more..._]# Load into the specified `value` the characters read from the specified `data`. Return 0 on success or a non‐zero value on failure. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- static int xref:BloombergLP/baljsn/JsonParserUtil/getValue-04e.adoc[getValue]( xref:bsl/vector-00d.adoc[bsl::vector<char>]* value, xref:BloombergLP/bdljsn/Json.adoc[bdljsn::Json] const& data); ---- [.small]#xref:BloombergLP/baljsn/JsonParserUtil/getValue-04e.adoc[_» more..._]# [.small]#Created with https://www.mrdocs.com[MrDocs]#