mirror of
https://github.com/nlohmann/json.git
synced 2026-08-17 06:33:18 +00:00
Fix typos in .md files (#3748)
This commit is contained in:
@@ -268,7 +268,7 @@ Note that without appending the `_json` suffix, the passed string literal is not
|
||||
value. That is, `json j = "{ \"happy\": true, \"pi\": 3.141 }"` would just store the string
|
||||
`"{ "happy": true, "pi": 3.141 }"` rather than parsing the actual object.
|
||||
|
||||
The string literal should be brought into scope with with `using namespace nlohmann::literals;`
|
||||
The string literal should be brought into scope with `using namespace nlohmann::literals;`
|
||||
(see [`json::parse()`](https://json.nlohmann.me/api/operator_literal_json/)).
|
||||
|
||||
The above example can also be expressed explicitly using [`json::parse()`](https://json.nlohmann.me/api/basic_json/parse/):
|
||||
|
||||
Reference in New Issue
Block a user