fix typos
Signed-off-by: Harinath Nampally <harinath922@gmail.com>
This commit is contained in:
parent
0083937dd5
commit
c6d9ea0b51
@ -90,4 +90,4 @@ Both examples demonstrate:
|
||||
|
||||
## Version history
|
||||
|
||||
- Added in version 3.11.3.
|
||||
- Added in version 3.11.4
|
||||
|
||||
@ -26,7 +26,7 @@ NLOHMANN_JSON_SERIALIZE_ENUM( TaskState, {
|
||||
|
||||
The [`NLOHMANN_JSON_SERIALIZE_ENUM()` macro](../api/macros/nlohmann_json_serialize_enum.md) declares a set of
|
||||
`to_json()` / `from_json()` functions for type `TaskState` while avoiding repetition and boilerplate serialization code.
|
||||
|
||||
|
||||
## Usage
|
||||
|
||||
```cpp
|
||||
|
||||
@ -244,8 +244,8 @@
|
||||
|
||||
/*!
|
||||
@brief macro to briefly define a mapping between an enum and JSON
|
||||
@def NLOHMANN_JSON_SERIALIZE_ENUM
|
||||
@since version 3.4.0
|
||||
@def NLOHMANN_JSON_SERIALIZE_ENUM_STRICT
|
||||
@since version 3.11.4
|
||||
*/
|
||||
#define NLOHMANN_JSON_SERIALIZE_ENUM_STRICT(ENUM_TYPE, ...) \
|
||||
template<typename BasicJsonType> \
|
||||
|
||||
@ -2610,8 +2610,8 @@ JSON_HEDLEY_DIAGNOSTIC_POP
|
||||
|
||||
/*!
|
||||
@brief macro to briefly define a mapping between an enum and JSON
|
||||
@def NLOHMANN_JSON_SERIALIZE_ENUM
|
||||
@since version 3.4.0
|
||||
@def NLOHMANN_JSON_SERIALIZE_ENUM_STRICT
|
||||
@since version 3.11.4
|
||||
*/
|
||||
#define NLOHMANN_JSON_SERIALIZE_ENUM_STRICT(ENUM_TYPE, ...) \
|
||||
template<typename BasicJsonType> \
|
||||
|
||||
Loading…
Reference in New Issue
Block a user