[#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 date from the specified `json`. [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` a date or date‐with‐timezone from `json`. [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 date with timezone from `json`. [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 datetime from the specified `json`. [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` a datetime or datetime‐with‐timezone from `json`. [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 datetime with timezone from `json`. [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 number from the specified `json`. [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 number from the specified `json`. [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 time from the specified `json`. [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` a time or time‐with‐timezone from `json`. [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 time with timezone from `json`. [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 number from the specified `json`. [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 boolean from the specified `json`. [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 number from the specified `json`. [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 number from the specified `json`. [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 number from the specified `json`. [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 number from the specified `json`. [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 number from the specified `json`. [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 number from the specified `json`. [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 string from the specified `json`. [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 string from the specified `json`. [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 string from the specified `json`. [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 number from the specified `json`. [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 number from the specified `json`. [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 number from the specified `json`. [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 Base64‐decoded bytes from `data`. [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..._]# == Return Value 0 on success, and a non‐zero value otherwise == Parameters [cols="1,4"] |=== | Name| Description | *value* | receives the parsed date | *json* | JSON object supplying the value | *data* | JSON object supplying the Base64 string |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#