Fix typos in .md files (#3748)

This commit is contained in:
tocic
2022-09-17 10:34:30 +02:00
committed by GitHub
parent c920f3f4fb
commit 9dfa722669
5 changed files with 5 additions and 5 deletions
+1 -1
View File
@@ -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/):