[#BloombergLP-bdljsn-StringUtil-readUnquotedString-0d]
= xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bdljsn.adoc[bdljsn]::xref:BloombergLP/bdljsn/StringUtil.adoc[StringUtil]::readUnquotedString
:relfileprefix: ../../../
:mrdocs:

`readUnquotedString` overloads

== Synopses

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

Load to the specified `value` the UTF&hyphen;8 codepoint sequence equivalent to the specified `string`, that is JSON&hyphen;compliant absent the leading and trailing double quote characters (see &lsqb;&rsqb;Strings))&period; Return 0 on success and a non&hyphen;zero value otherwise&period; Optionally specify `flags` to request variances from certain rules of JSON decoding (see )&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
static
int
xref:BloombergLP/bdljsn/StringUtil/readUnquotedString-02.adoc[readUnquotedString](
    xref:bsl/string.adoc[bsl::string]* value,
    std::string&lowbar;view const& string,
    int flags = e&lowbar;NONE);
----

[.small]#xref:BloombergLP/bdljsn/StringUtil/readUnquotedString-02.adoc[_» more&period;&period;&period;_]#

Same as the preceding `readUnquotedString` overload for `std&colon;&colon;pmr&colon;&colon;string`&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
static
int
xref:BloombergLP/bdljsn/StringUtil/readUnquotedString-05.adoc[readUnquotedString](
    std::pmr::string* value,
    std::string&lowbar;view const& string,
    int flags = e&lowbar;NONE);
----

[.small]#xref:BloombergLP/bdljsn/StringUtil/readUnquotedString-05.adoc[_» more&period;&period;&period;_]#

Same as the preceding `readUnquotedString` overload for `std&colon;&colon;string`&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
static
int
xref:BloombergLP/bdljsn/StringUtil/readUnquotedString-0a.adoc[readUnquotedString](
    std::string* value,
    std::string&lowbar;view const& string,
    int flags = e&lowbar;NONE);
----

[.small]#xref:BloombergLP/bdljsn/StringUtil/readUnquotedString-0a.adoc[_» more&period;&period;&period;_]#


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