Skip to content

Commit 4d4b670

Browse files
committed
Update doc
1 parent 06167c6 commit 4d4b670

File tree

3 files changed

+8
-8
lines changed

3 files changed

+8
-8
lines changed

ChangeLog.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
master
2-
------
1+
v0.146.0
2+
--------
33

44
Changes:
55

doc/Examples.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -904,7 +904,7 @@ The output for (2), (3) and (4) is the same.
904904
905905
#### Serialize non-mandatory std::optional values using the convenience macros
906906
907-
The jsoncons library includes a `json_type_traits` specialization for
907+
The jsoncons library includes a [json_type_traits](ref/json_type_traits.md) specialization for
908908
`jsoncons::optional<T>` if `T` is also specialized. `jsoncons::optional<T>` is aliased to
909909
[std::optional<T>](https://en.cppreference.com/w/cpp/utility/optional) if
910910
jsoncons detects the presence of C++17, or if `JSONCONS_HAS_STD_OPTIONAL` is defined.
@@ -1008,7 +1008,7 @@ Output:
10081008

10091009
#### An example with std::shared_ptr and std::unique_ptr
10101010

1011-
The jsoncons library includes `json_type_traits` specializations for
1011+
The jsoncons library includes [json_type_traits](ref/json_type_traits.md) specializations for
10121012
`std::shared_ptr<T>` and `std::unique_ptr<T>` if `T` is not a [polymorphic class](https://en.cppreference.com/w/cpp/language/object#Polymorphic_objects),
10131013
i.e., does not have any virtual functions, and if `T` is also specialized. In addition, users can specialize `json_type_traits`
10141014
for polymorphic classes using the convenience macro `JSONCONS_POLYMORPHIC_TRAITS`, or by specializing `json_type_traits` explicitly.
@@ -1328,7 +1328,7 @@ Key 'ssn' not found
13281328
13291329
This example makes use of the convenience macros `JSONCONS_ENUM_TRAITS`
13301330
and `JSONCONS_ALL_GETTER_CTOR_TRAITS` to specialize the
1331-
[json_type_traits](doc/ref/json_type_traits.md) for the enum type
1331+
[json_type_traits](ref/json_type_traits.md) for the enum type
13321332
`ns::hiking_experience` and the classes `ns::hiking_reputon` and
13331333
`ns::hiking_reputation`.
13341334
The macro `JSONCONS_ENUM_TRAITS` generates the code from
@@ -1443,7 +1443,7 @@ Output:
14431443
#### Serialize a polymorphic type based on the presence of members
14441444

14451445
This example uses the convenience macro `JSONCONS_N_GETTER_CTOR_TRAITS`
1446-
to generate the `json_type_traits` boilerplate for the `HourlyEmployee` and `CommissionedEmployee`
1446+
to generate the [json_type_traits](ref/json_type_traits.md) boilerplate for the `HourlyEmployee` and `CommissionedEmployee`
14471447
derived classes, and `JSONCONS_POLYMORPHIC_TRAITS` to generate the `json_type_traits` boilerplate
14481448
for `std::shared_ptr<Employee>` and `std::unique_ptr<Employee>`. The type selection strategy is based
14491449
on the presence of mandatory members, in particular, to the `firstName`, `lastName`, and `wage` members of an

include/jsoncons/config/version.hpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,8 @@
1010
#include <iostream>
1111

1212
#define JSONCONS_VERSION_MAJOR 0
13-
#define JSONCONS_VERSION_MINOR 145
14-
#define JSONCONS_VERSION_PATCH 2
13+
#define JSONCONS_VERSION_MINOR 146
14+
#define JSONCONS_VERSION_PATCH 0
1515

1616
namespace jsoncons {
1717

0 commit comments

Comments
 (0)