[#BloombergLP-baljsn-ParserUtil-getValue-08c]
= xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/baljsn.adoc[baljsn]::xref:BloombergLP/baljsn/ParserUtil.adoc[ParserUtil]::getValue
:relfileprefix: ../../../
:mrdocs:

`getValue` overloads

== Synopses

Declared in `&lt;baljsn&lowbar;parserutil&period;h&gt;`

Load into `value` the value parsed from JSON `data`&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
static
int
xref:BloombergLP/baljsn/ParserUtil/getValue-01.adoc[getValue](
    xref:BloombergLP/bdlt/Date.adoc[bdlt::Date]* value,
    std::string&lowbar;view const& data);
----

[.small]#xref:BloombergLP/baljsn/ParserUtil/getValue-01.adoc[_» more&period;&period;&period;_]#

Load into `value` the value parsed from JSON `data`&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
static
int
xref:BloombergLP/baljsn/ParserUtil/getValue-089.adoc[getValue](
    xref:BloombergLP/baljsn/ParserUtil/DateOrDateTz.adoc[DateOrDateTz]* value,
    std::string&lowbar;view const& data);
----

[.small]#xref:BloombergLP/baljsn/ParserUtil/getValue-089.adoc[_» more&period;&period;&period;_]#

Load into `value` the value parsed from JSON `data`&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
static
int
xref:BloombergLP/baljsn/ParserUtil/getValue-084.adoc[getValue](
    xref:BloombergLP/bdlt/DateTz.adoc[bdlt::DateTz]* value,
    std::string&lowbar;view const& data);
----

[.small]#xref:BloombergLP/baljsn/ParserUtil/getValue-084.adoc[_» more&period;&period;&period;_]#

Load into `value` the value parsed from JSON `data`&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
static
int
xref:BloombergLP/baljsn/ParserUtil/getValue-081.adoc[getValue](
    xref:BloombergLP/bdlt/Datetime.adoc[bdlt::Datetime]* value,
    std::string&lowbar;view const& data);
----

[.small]#xref:BloombergLP/baljsn/ParserUtil/getValue-081.adoc[_» more&period;&period;&period;_]#

Load into `value` the value parsed from JSON `data`&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
static
int
xref:BloombergLP/baljsn/ParserUtil/getValue-0a9.adoc[getValue](
    xref:BloombergLP/baljsn/ParserUtil/DatetimeOrDatetimeTz.adoc[DatetimeOrDatetimeTz]* value,
    std::string&lowbar;view const& data);
----

[.small]#xref:BloombergLP/baljsn/ParserUtil/getValue-0a9.adoc[_» more&period;&period;&period;_]#

Load into `value` the value parsed from JSON `data`&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
static
int
xref:BloombergLP/baljsn/ParserUtil/getValue-0a1.adoc[getValue](
    xref:BloombergLP/bdlt/DatetimeTz.adoc[bdlt::DatetimeTz]* value,
    std::string&lowbar;view const& data);
----

[.small]#xref:BloombergLP/baljsn/ParserUtil/getValue-0a1.adoc[_» more&period;&period;&period;_]#

Load into `value` the value parsed from JSON `data`&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
static
int
xref:BloombergLP/baljsn/ParserUtil/getValue-0ba.adoc[getValue](
    xref:BloombergLP/bdldfp/Decimal64.adoc[bdldfp::Decimal64]* value,
    std::string&lowbar;view const& data);
----

[.small]#xref:BloombergLP/baljsn/ParserUtil/getValue-0ba.adoc[_» more&period;&period;&period;_]#

Load into `value` the value parsed from JSON `data`&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
static
int
xref:BloombergLP/baljsn/ParserUtil/getValue-04.adoc[getValue](
    xref:BloombergLP/bdlt/Time.adoc[bdlt::Time]* value,
    std::string&lowbar;view const& data);
----

[.small]#xref:BloombergLP/baljsn/ParserUtil/getValue-04.adoc[_» more&period;&period;&period;_]#

Load into `value` the value parsed from JSON `data`&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
static
int
xref:BloombergLP/baljsn/ParserUtil/getValue-0d4.adoc[getValue](
    xref:BloombergLP/baljsn/ParserUtil/TimeOrTimeTz.adoc[TimeOrTimeTz]* value,
    std::string&lowbar;view const& data);
----

[.small]#xref:BloombergLP/baljsn/ParserUtil/getValue-0d4.adoc[_» more&period;&period;&period;_]#

Load into `value` the value parsed from JSON `data`&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
static
int
xref:BloombergLP/baljsn/ParserUtil/getValue-0fe.adoc[getValue](
    xref:BloombergLP/bdlt/TimeTz.adoc[bdlt::TimeTz]* value,
    std::string&lowbar;view const& data);
----

[.small]#xref:BloombergLP/baljsn/ParserUtil/getValue-0fe.adoc[_» more&period;&period;&period;_]#

Load into `value` the value parsed from JSON `data`&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
static
int
xref:BloombergLP/baljsn/ParserUtil/getValue-0bc0.adoc[getValue](
    bool* value,
    std::string&lowbar;view const& data);
----

[.small]#xref:BloombergLP/baljsn/ParserUtil/getValue-0bc0.adoc[_» more&period;&period;&period;_]#

Load into `value` the value parsed from JSON `data`&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
static
int
xref:BloombergLP/baljsn/ParserUtil/getValue-094.adoc[getValue](
    char* value,
    std::string&lowbar;view const& data);
----

[.small]#xref:BloombergLP/baljsn/ParserUtil/getValue-094.adoc[_» more&period;&period;&period;_]#

Load into `value` the value parsed from JSON `data`&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
static
int
xref:BloombergLP/baljsn/ParserUtil/getValue-099d.adoc[getValue](
    double* value,
    std::string&lowbar;view const& data);
----

[.small]#xref:BloombergLP/baljsn/ParserUtil/getValue-099d.adoc[_» more&period;&period;&period;_]#

Load into `value` the value parsed from JSON `data`&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
static
int
xref:BloombergLP/baljsn/ParserUtil/getValue-0bc6.adoc[getValue](
    float* value,
    std::string&lowbar;view const& data);
----

[.small]#xref:BloombergLP/baljsn/ParserUtil/getValue-0bc6.adoc[_» more&period;&period;&period;_]#

Load into `value` the value parsed from JSON `data`&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
static
int
xref:BloombergLP/baljsn/ParserUtil/getValue-098.adoc[getValue](
    int* value,
    std::string&lowbar;view const& data);
----

[.small]#xref:BloombergLP/baljsn/ParserUtil/getValue-098.adoc[_» more&period;&period;&period;_]#

Load into `value` the value parsed from JSON `data`&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
static
int
xref:BloombergLP/baljsn/ParserUtil/getValue-0f0.adoc[getValue](
    long* value,
    std::string&lowbar;view const& data);
----

[.small]#xref:BloombergLP/baljsn/ParserUtil/getValue-0f0.adoc[_» more&period;&period;&period;_]#

Load into `value` the value parsed from JSON `data`&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
static
int
xref:BloombergLP/baljsn/ParserUtil/getValue-00e.adoc[getValue](
    long long* value,
    std::string&lowbar;view const& data);
----

[.small]#xref:BloombergLP/baljsn/ParserUtil/getValue-00e.adoc[_» more&period;&period;&period;_]#

Load into `value` the value parsed from JSON `data`&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
static
int
xref:BloombergLP/baljsn/ParserUtil/getValue-062.adoc[getValue](
    short* value,
    std::string&lowbar;view const& data);
----

[.small]#xref:BloombergLP/baljsn/ParserUtil/getValue-062.adoc[_» more&period;&period;&period;_]#

Load into `value` the value parsed from JSON `data`&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
static
int
xref:BloombergLP/baljsn/ParserUtil/getValue-0997.adoc[getValue](
    signed char* value,
    std::string&lowbar;view const& data);
----

[.small]#xref:BloombergLP/baljsn/ParserUtil/getValue-0997.adoc[_» more&period;&period;&period;_]#

Load a quoted JSON string into `value`&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
static
int
xref:BloombergLP/baljsn/ParserUtil/getValue-06c.adoc[getValue](
    xref:bsl/string.adoc[bsl::string]* value,
    std::string&lowbar;view const& data);
----

[.small]#xref:BloombergLP/baljsn/ParserUtil/getValue-06c.adoc[_» more&period;&period;&period;_]#

Load into `value` the value parsed from JSON `data`&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
static
int
xref:BloombergLP/baljsn/ParserUtil/getValue-08f.adoc[getValue](
    std::pmr::string* value,
    std::string&lowbar;view const& data);
----

[.small]#xref:BloombergLP/baljsn/ParserUtil/getValue-08f.adoc[_» more&period;&period;&period;_]#

Load into `value` the value parsed from JSON `data`&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
static
int
xref:BloombergLP/baljsn/ParserUtil/getValue-02.adoc[getValue](
    std::string* value,
    std::string&lowbar;view const& data);
----

[.small]#xref:BloombergLP/baljsn/ParserUtil/getValue-02.adoc[_» more&period;&period;&period;_]#

Load into `value` the value parsed from JSON `data`&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
static
int
xref:BloombergLP/baljsn/ParserUtil/getValue-0e.adoc[getValue](
    unsigned char* value,
    std::string&lowbar;view const& data);
----

[.small]#xref:BloombergLP/baljsn/ParserUtil/getValue-0e.adoc[_» more&period;&period;&period;_]#

Load into `value` the value parsed from JSON `data`&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
static
int
xref:BloombergLP/baljsn/ParserUtil/getValue-002.adoc[getValue](
    unsigned int* value,
    std::string&lowbar;view const& data);
----

[.small]#xref:BloombergLP/baljsn/ParserUtil/getValue-002.adoc[_» more&period;&period;&period;_]#

Load into `value` the value parsed from JSON `data`&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
static
int
xref:BloombergLP/baljsn/ParserUtil/getValue-0d5.adoc[getValue](
    unsigned long* value,
    std::string&lowbar;view const& data);
----

[.small]#xref:BloombergLP/baljsn/ParserUtil/getValue-0d5.adoc[_» more&period;&period;&period;_]#

Load into `value` the value parsed from JSON `data`&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
static
int
xref:BloombergLP/baljsn/ParserUtil/getValue-0f8.adoc[getValue](
    unsigned long long* value,
    std::string&lowbar;view const& data);
----

[.small]#xref:BloombergLP/baljsn/ParserUtil/getValue-0f8.adoc[_» more&period;&period;&period;_]#

Load into `value` the value parsed from JSON `data`&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
static
int
xref:BloombergLP/baljsn/ParserUtil/getValue-0dc.adoc[getValue](
    unsigned short* value,
    std::string&lowbar;view const& data);
----

[.small]#xref:BloombergLP/baljsn/ParserUtil/getValue-0dc.adoc[_» more&period;&period;&period;_]#

Load into `value` the value parsed from JSON `data`&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
static
int
xref:BloombergLP/baljsn/ParserUtil/getValue-0b9.adoc[getValue](
    xref:bsl/vector-00d.adoc[bsl::vector&lt;char&gt;]* value,
    std::string&lowbar;view const& data);
----

[.small]#xref:BloombergLP/baljsn/ParserUtil/getValue-0b9.adoc[_» more&period;&period;&period;_]#

== Return Value

0 on success, and a non&hyphen;zero value otherwise

== Parameters

[cols="1,4"]
|===
| Name| Description
| *value*
| receives the parsed value
| *data*
| JSON text to parse
|===


[.small]#Created with https://www.mrdocs.com[MrDocs]#
