mirror of
https://github.com/nlohmann/json
synced 2024-11-10 06:20:06 +00:00
Merge pull request #1451 from Afforix/Afforix-fix-extra-semicolon
remove extra semicolon from readme
This commit is contained in:
commit
68ec3eb8d6
@ -917,7 +917,7 @@ NLOHMANN_JSON_SERIALIZE_ENUM( TaskState, {
|
|||||||
{TS_STOPPED, "stopped"},
|
{TS_STOPPED, "stopped"},
|
||||||
{TS_RUNNING, "running"},
|
{TS_RUNNING, "running"},
|
||||||
{TS_COMPLETED, "completed"},
|
{TS_COMPLETED, "completed"},
|
||||||
});
|
})
|
||||||
```
|
```
|
||||||
|
|
||||||
The `NLOHMANN_JSON_SERIALIZE_ENUM()` macro declares a set of `to_json()` / `from_json()` functions for type `TaskState` while avoiding repetition and boilerplate serilization code.
|
The `NLOHMANN_JSON_SERIALIZE_ENUM()` macro declares a set of `to_json()` / `from_json()` functions for type `TaskState` while avoiding repetition and boilerplate serilization code.
|
||||||
|
Loading…
Reference in New Issue
Block a user