You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: doc/ref/corelib/reflect.md
+6-6Lines changed: 6 additions & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -9,21 +9,21 @@ See [Eigen::Matrix example](json_type_traits/Eigen-Matrix-example.md) for an exa
9
9
10
10
Note that in typical cases traits can be generated by the convenience macros described below.
11
11
12
-
### jsoncons::reflect::json_conv_traits
12
+
### jsoncons::reflect::json_traits
13
13
14
-
jsoncons 1.4.0 introduces new trait definitions, [json_conv_traits](reflect/json_conv_traits.md), that support
14
+
jsoncons 1.4.0 introduces new trait definitions, [json_traits](reflect/json_traits.md), that support
15
15
non-throwing conversions and [uses-allocator construction](https://en.cppreference.com/w/cpp/memory/uses_allocator.html).
16
16
17
-
See [Eigen::Matrix example](reflect/Eigen-Matrix-example.md) for an example of specializing `json_conv_traits` for an [Eigen matrix class](https://eigen.tuxfamily.org/dox-devel/group__TutorialMatrixClass.html).
17
+
See [Eigen::Matrix example](reflect/Eigen-Matrix-example.md) for an example of specializing `json_traits` for an [Eigen matrix class](https://eigen.tuxfamily.org/dox-devel/group__TutorialMatrixClass.html).
18
18
19
-
See [User-allocator construction example](reflect/uses-allocator-construction-example.md) for an example that illustrates uses-allocator construction for types with `json_conv_traits` defined.
19
+
See [User-allocator construction example](reflect/uses-allocator-construction-example.md) for an example that illustrates uses-allocator construction for types with `json_traits` defined.
20
20
21
-
For backwards compatability, `json_conv_traits` defaults to `json_type_traits` if a type conversion is undefined.
21
+
For backwards compatability, `json_traits` defaults to `json_type_traits` if a type conversion is undefined.
22
22
23
23
### Convenience macros
24
24
25
25
jsoncons includes some [convenience macros](reflect/reflect-traits-gen.md) for generating reflection traits classes.
26
26
Until 1.4.0, these macros generated [json_type_traits](json_type_traits/json_type_traits.md) class templates. Since 1.4.0, they
27
-
generate [json_conv_traits](reflect/json_conv_traits.md) class templates, as well as some additional traits that support streaming.
27
+
generate [json_traits](reflect/json_traits.md) class templates, as well as some additional traits that support streaming.
Copy file name to clipboardExpand all lines: doc/ref/corelib/reflect/Eigen-Matrix-example.md
+4-4Lines changed: 4 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,7 +1,7 @@
1
1
### Eigen::Matrix examples
2
2
3
-
This example shows how to specialize [json_conv_traits](json_conv_traits.md) for an [Eigen matrix class](https://eigen.tuxfamily.org/dox-devel/group__TutorialMatrixClass.html).
4
-
It defines separate `json_conv_traits` class templates for the dynamic and fixed sized row/column cases.
3
+
This example shows how to specialize [json_traits](json_traits.md) for an [Eigen matrix class](https://eigen.tuxfamily.org/dox-devel/group__TutorialMatrixClass.html).
4
+
It defines separate `json_traits` class templates for the dynamic and fixed sized row/column cases.
0 commit comments