[#BloombergLP-bdljsn-JsonUtil-read-066]
= xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bdljsn.adoc[bdljsn]::xref:BloombergLP/bdljsn/JsonUtil.adoc[JsonUtil]::read
:relfileprefix: ../../../
:mrdocs:

Load into `result` a value&hyphen;semantic representation of the JSON text in `input`&period; Return 0 on success and a non&hyphen;zero value otherwise&period; See the first `read` overload for full contract details&period;

== Synopsis

Declared in `&lt;bdljsn&lowbar;jsonutil&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
static
int
read(
    xref:BloombergLP/bdljsn/Json.adoc[Json]* result,
    std::string&lowbar;view const& input,
    xref:BloombergLP/bdljsn/ReadOptions.adoc[ReadOptions] const& options);
----


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