[#BloombergLP-bdljsn-JsonUtil-read-02c] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bdljsn.adoc[bdljsn]::xref:BloombergLP/bdljsn/JsonUtil.adoc[JsonUtil]::read :relfileprefix: ../../../ :mrdocs: Load a value‐semantic representation of JSON text into `result`. == Synopses Declared in `<bdljsn_jsonutil.h>` Load a value‐semantic representation of JSON text into `result`. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- static int xref:BloombergLP/bdljsn/JsonUtil/read-0b7.adoc[read]( xref:BloombergLP/bdljsn/Json.adoc[Json]* result, std::istream& input); ---- [.small]#xref:BloombergLP/bdljsn/JsonUtil/read-0b7.adoc[_» more..._]# Load a value‐semantic representation of JSON text into `result`. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- static int xref:BloombergLP/bdljsn/JsonUtil/read-06d.adoc[read]( xref:BloombergLP/bdljsn/Json.adoc[Json]* result, std::string_view const& input); ---- [.small]#xref:BloombergLP/bdljsn/JsonUtil/read-06d.adoc[_» more..._]# Load a value‐semantic representation of JSON text into `result`. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- static int xref:BloombergLP/bdljsn/JsonUtil/read-0e1.adoc[read]( xref:BloombergLP/bdljsn/Json.adoc[Json]* result, std::streambuf* input); ---- [.small]#xref:BloombergLP/bdljsn/JsonUtil/read-0e1.adoc[_» more..._]# Load a value‐semantic representation of JSON text into `result`. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- static int xref:BloombergLP/bdljsn/JsonUtil/read-0f.adoc[read]( xref:BloombergLP/bdljsn/Json.adoc[Json]* result, std::istream& input, xref:BloombergLP/bdljsn/ReadOptions.adoc[ReadOptions] const& options); ---- [.small]#xref:BloombergLP/bdljsn/JsonUtil/read-0f.adoc[_» more..._]# Load a value‐semantic representation of JSON text into `result`. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- static int xref:BloombergLP/bdljsn/JsonUtil/read-066.adoc[read]( xref:BloombergLP/bdljsn/Json.adoc[Json]* result, std::string_view const& input, xref:BloombergLP/bdljsn/ReadOptions.adoc[ReadOptions] const& options); ---- [.small]#xref:BloombergLP/bdljsn/JsonUtil/read-066.adoc[_» more..._]# Load a value‐semantic representation of JSON text into `result`. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- static int xref:BloombergLP/bdljsn/JsonUtil/read-0e4.adoc[read]( xref:BloombergLP/bdljsn/Json.adoc[Json]* result, xref:BloombergLP/bdljsn/Error.adoc[Error]* errorDescription, std::istream& input); ---- [.small]#xref:BloombergLP/bdljsn/JsonUtil/read-0e4.adoc[_» more..._]# Load a value‐semantic representation of JSON text into `result`. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- static int xref:BloombergLP/bdljsn/JsonUtil/read-00a.adoc[read]( xref:BloombergLP/bdljsn/Json.adoc[Json]* result, xref:BloombergLP/bdljsn/Error.adoc[Error]* errorDescription, std::string_view const& input); ---- [.small]#xref:BloombergLP/bdljsn/JsonUtil/read-00a.adoc[_» more..._]# Load a value‐semantic representation of JSON text into `result`. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- static int xref:BloombergLP/bdljsn/JsonUtil/read-0b0.adoc[read]( xref:BloombergLP/bdljsn/Json.adoc[Json]* result, xref:BloombergLP/bdljsn/Error.adoc[Error]* errorDescription, std::streambuf* input); ---- [.small]#xref:BloombergLP/bdljsn/JsonUtil/read-0b0.adoc[_» more..._]# Load a value‐semantic representation of JSON text into `result`. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- static int xref:BloombergLP/bdljsn/JsonUtil/read-006.adoc[read]( xref:BloombergLP/bdljsn/Json.adoc[Json]* result, std::streambuf* input, xref:BloombergLP/bdljsn/ReadOptions.adoc[ReadOptions] const& options); ---- [.small]#xref:BloombergLP/bdljsn/JsonUtil/read-006.adoc[_» more..._]# Load a value‐semantic representation of JSON text into `result`. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- static int xref:BloombergLP/bdljsn/JsonUtil/read-07.adoc[read]( xref:BloombergLP/bdljsn/Json.adoc[Json]* result, xref:BloombergLP/bdljsn/Error.adoc[Error]* errorDescription, std::istream& input, xref:BloombergLP/bdljsn/ReadOptions.adoc[ReadOptions] const& options); ---- [.small]#xref:BloombergLP/bdljsn/JsonUtil/read-07.adoc[_» more..._]# Load a value‐semantic representation of JSON text into `result`. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- static int xref:BloombergLP/bdljsn/JsonUtil/read-0b6.adoc[read]( xref:BloombergLP/bdljsn/Json.adoc[Json]* result, xref:BloombergLP/bdljsn/Error.adoc[Error]* errorDescription, std::string_view const& input, xref:BloombergLP/bdljsn/ReadOptions.adoc[ReadOptions] const& options); ---- [.small]#xref:BloombergLP/bdljsn/JsonUtil/read-0b6.adoc[_» more..._]# Load a value‐semantic representation of JSON text into `result`. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- static int xref:BloombergLP/bdljsn/JsonUtil/read-02d.adoc[read]( xref:BloombergLP/bdljsn/Json.adoc[Json]* result, xref:BloombergLP/bdljsn/Error.adoc[Error]* errorDescription, std::streambuf* input, xref:BloombergLP/bdljsn/ReadOptions.adoc[ReadOptions] const& options); ---- [.small]#xref:BloombergLP/bdljsn/JsonUtil/read-02d.adoc[_» more..._]# == Return Value 0 on success, and a non‐zero value otherwise == Parameters [cols="1,4"] |=== | Name| Description | *result* | object to receive the parsed JSON | *input* | stream supplying JSON text | *options* | options controlling JSON parsing | *errorDescription* | receives a description if parsing fails |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#