Unverified Commit e970f310 authored by justanotheranonymoususer's avatar justanotheranonymoususer Committed by GitHub

Update arbitrary_types.md

parent c3d7fcb7
...@@ -54,7 +54,7 @@ assert(p == p2); ...@@ -54,7 +54,7 @@ assert(p == p2);
To make this work with one of your types, you only need to provide two functions: To make this work with one of your types, you only need to provide two functions:
```cpp ```cpp
using nlohmann::json; using json = nlohmann::json;
namespace ns { namespace ns {
void to_json(json& j, const person& p) { void to_json(json& j, const person& p) {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment