1
0
mirror of https://github.com/nlohmann/json.git synced 2025-07-06 06:42:33 +03:00

Update arbitrary_types.md

This commit is contained in:
justanotheranonymoususer
2021-06-18 12:44:27 +03:00
committed by GitHub
parent c3d7fcb76c
commit e970f31066

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) {