1
0
mirror of https://github.com/nlohmann/json synced 2024-11-22 20:10:06 +00:00

Merge pull request #2826 from justanotheranonymoususer/patch-1

Consistency with `using` in README.md
This commit is contained in:
Niels Lohmann 2021-06-21 14:48:39 +02:00 committed by GitHub
commit 624f59eacb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View File

@ -870,7 +870,7 @@ assert(p == p2);
To make this work with one of your types, you only need to provide two functions:
```cpp
using nlohmann::json;
using json = nlohmann::json;
namespace ns {
void to_json(json& j, const person& p) {

View File

@ -54,7 +54,7 @@ assert(p == p2);
To make this work with one of your types, you only need to provide two functions:
```cpp
using nlohmann::json;
using json = nlohmann::json;
namespace ns {
void to_json(json& j, const person& p) {