Use template get instead of get in examples (#4039)

Co-authored-by: tusooa <tusooa@kazv.moe>
This commit is contained in:
No
2023-06-11 04:06:24 -04:00
committed by GitHub
parent 793878898f
commit c71ecde505
23 changed files with 80 additions and 80 deletions
@@ -187,7 +187,7 @@ conversions with calls to [`get`](../api/basic_json/get.md), [`get_to`](../api/b
```cpp
nlohmann::json j = "Hello, world!";
auto s = j.get<std::string>();
auto s = j.template get<std::string>();
```
=== "Future-proof (alternative)"