[#nlohmann-operator_json-08]
= xref:nlohmann.adoc[nlohmann]::operator&quot;&quot;&lowbar;json
:relfileprefix: ../
:mrdocs:

user&hyphen;defined string literal for JSON values

== Synopses

Declared in `&lt;nlohmann&sol;json&period;hpp&gt;`

user&hyphen;defined string literal for JSON values


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
xref:nlohmann/json.adoc[nlohmann::json]
xref:nlohmann/operator_json-02.adoc[operator&quot;&quot;&lowbar;json](
    char const* s,
    std::size&lowbar;t n);
----

[.small]#xref:nlohmann/operator_json-02.adoc[_» more&period;&period;&period;_]#

user&hyphen;defined string literal for JSON values


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
xref:nlohmann/json.adoc[nlohmann::json]
xref:nlohmann/operator_json-0c.adoc[operator&quot;&quot;&lowbar;json](
    char8&lowbar;t const* s,
    std::size&lowbar;t n);
----

[.small]#xref:nlohmann/operator_json-0c.adoc[_» more&period;&period;&period;_]#

== Return Value

JSON value parsed from _s_

== Parameters

[cols="1,4"]
|===
| Name| Description
| *s*
| a string representation of a JSON object
| *n*
| length of string _s_
|===


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