mirror of
https://github.com/nlohmann/json
synced 2024-12-01 16:10:06 +00:00
Merge pull request #1918 from kastiglione/patch-1
Fix link to parse function in README
This commit is contained in:
commit
3eb6b0e7a2
@ -300,7 +300,7 @@ auto j2 = R"(
|
||||
|
||||
Note that without appending the `_json` suffix, the passed string literal is not parsed, but just used as JSON string 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 above example can also be expressed explicitly using [`json::parse()`](https://nlohmann.github.io/json/classnlohmann_1_1basic__json_afd4ef1ac8ad50a5894a9afebca69140a.html#afd4ef1ac8ad50a5894a9afebca69140a):
|
||||
The above example can also be expressed explicitly using [`json::parse()`](https://nlohmann.github.io/json/classnlohmann_1_1basic__json_a265a473e939184aa42655c9ccdf34e58.html#a265a473e939184aa42655c9ccdf34e58):
|
||||
|
||||
```cpp
|
||||
// parse explicitly
|
||||
|
Loading…
Reference in New Issue
Block a user