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
`byte_string`, `array` and `object` respectively. It's unlikely that we have
55
55
many users of `json_type`, it isn't used in any of our examples, but for
56
-
backwards compatability the old names, now deprecated, have been typedefed to
56
+
backwards compatibility the old names, now deprecated, have been typedef-ed to
57
57
the new names.
58
58
59
59
- The `json_options` member name `line_splits` has been renamed to `root_line_spits`.
@@ -1104,7 +1104,7 @@ the same node paths) to be excluded from results, and for results to be sorted i
1104
1104
Changes to `json_query`
1105
1105
1106
1106
- The parameter `result_type` has been replaced by a bitmask type `result_options`.
1107
-
For backwards compatability, `result_type` has been typedefed to `result_options`,
1107
+
For backwards compatability, `result_type` has been typedef-ed to `result_options`,
1108
1108
and the `value` and `path` enumerators are still there. In addition, `result_options`
1109
1109
provides options for excluding duplicates from results, and for results to be sorted in
1110
1110
path order.
@@ -1252,7 +1252,7 @@ Change reverted:
1252
1252
1253
1253
- The name change `ser_error` to `codec_error` introduced in
1254
1254
0.157.0 has been reverted back to `ser_error`. Just in case
1255
-
anybody used it, the name `codec_error` has been typedefed
1255
+
anybody used it, the name `codec_error` has been typedef-ed
1256
1256
to `ser_error`.
1257
1257
1258
1258
0.157.0
@@ -3834,7 +3834,7 @@ Changes to extensions:
3834
3834
3835
3835
- Reversion of 0.96 change:
3836
3836
3837
-
The virtual methods `do_float_value`, `do_integer_value`, and `do_unsigned_value` of `json_input_handler` and `json_output_handler` have been restored to `do_double_value`, `do_longlong_value` and `do_ulonglong_value`, and their typedefed parameter types `float_type`, `integer_type`, and `unsigned_type` have been restored to `double`, `long long`, and `unsigned long long`.
3837
+
The virtual methods `do_float_value`, `do_integer_value`, and `do_unsigned_value` of `json_input_handler` and `json_output_handler` have been restored to `do_double_value`, `do_longlong_value` and `do_ulonglong_value`, and their typedef-ed parameter types `float_type`, `integer_type`, and `unsigned_type` have been restored to `double`, `long long`, and `unsigned long long`.
3838
3838
3839
3839
The rationale for this reversion is that the change doesn't really help to make the software more flexible, and that it's better to leave out the typedefs. There will be future enhancements to support greater numeric precision, but these will not affect the current method signatures.
3840
3840
@@ -3999,7 +3999,7 @@ New extensions
3999
3999
New features
4000
4000
4001
4001
- Supports wide character strings and streams with wjson, wjson_reader etc. Assumes UTF16 encoding if sizeof(wchar_t)=2 and UTF32 encoding if sizeof(wchar_t)=4.
4002
-
- The empty class null_type is added to the jsoncons namespace, it replaces the member type json::null_type (json::null_type is typedefed to jsoncons::null_type for backward compatibility.)
4002
+
- The empty class null_type is added to the jsoncons namespace, it replaces the member type json::null_type (json::null_type is typedef-ed to jsoncons::null_type for backward compatibility.)
4003
4003
4004
4004
Defect fixes:
4005
4005
@@ -4020,7 +4020,7 @@ Breaking change (but only if you have subclassed json_input_handler or json_outp
4020
4020
4021
4021
Non breaking changes (previous features are deprecated but still work)
4022
4022
4023
-
- name_value_pair has been renamed to member_type (typedefed to previous name.)
4023
+
- name_value_pair has been renamed to member_type (typedef-ed to previous name.)
4024
4024
4025
4025
- as_string(output_format format) has been deprecated, use the existing to_string(output_format format) instead
Copy file name to clipboardExpand all lines: README.md
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -101,8 +101,8 @@ Or, download the latest code on [main](https://github.com/danielaparker/jsoncons
101
101
-[Ask questions and suggest ideas for new features](https://github.com/danielaparker/jsoncons/discussions)
102
102
103
103
The library requires a C++ Compiler with C++11 support. In addition the library defines `jsoncons::endian`,
104
-
`jsoncons::basic_string_view`, `jsoncons::optional`, and `jsoncons::span`, which will be typedefed to
105
-
their standard library equivalents if detected. Otherwise they will be typedefed to internal, C++11 compatible, implementations.
104
+
`jsoncons::basic_string_view`, `jsoncons::optional`, and `jsoncons::span`, which will be typedef-ed to
105
+
their standard library equivalents if detected. Otherwise they will be typedef-ed to internal, C++11 compatible, implementations.
106
106
107
107
The library uses exceptions and in some cases [std::error_code](https://en.cppreference.com/w/cpp/error/error_code)'s to report errors. Apart from `jsoncons::assertion_error`,
108
108
all jsoncons exception classes implement the [jsoncons::json_error](doc/ref/corelib/json_error.md) interface.
`string_view_type`|A non-owning view of a string, holds a pointer to character data and length. Supports conversion to and from strings. Will be typedefed to the C++ 17 [std::string view](http://en.cppreference.com/w/cpp/string/basic_string_view) if C++ 17 is detected or if `JSONCONS_HAS_STD_STRING_VIEW` is defined, otherwise proxied.
28
+
`string_view_type`|A non-owning view of a string, holds a pointer to character data and length. Supports conversion to and from strings. Will be typedef-ed to the C++ 17 [std::string view](http://en.cppreference.com/w/cpp/string/basic_string_view) if C++ 17 is detected or if `JSONCONS_HAS_STD_STRING_VIEW` is defined, otherwise proxied.
`string_view_type`|A non-owning view of a string, holds a pointer to character data and length. Supports conversion to and from strings. Will be typedefed to the C++ 17 [std::string view](http://en.cppreference.com/w/cpp/string/basic_string_view) if C++ 17 is detected or if `JSONCONS_HAS_STD_STRING_VIEW` is defined, otherwise proxied.
29
+
`string_view_type`|A non-owning view of a string, holds a pointer to character data and length. Supports conversion to and from strings. Will be typedef-ed to the C++ 17 [std::string view](http://en.cppreference.com/w/cpp/string/basic_string_view) if C++ 17 is detected or if `JSONCONS_HAS_STD_STRING_VIEW` is defined, otherwise proxied.
`string_view_type`|A non-owning view of a string, holds a pointer to character data and length. Supports conversion to and from strings. Will be typedefed to the C++ 17 [std::string view](http://en.cppreference.com/w/cpp/string/basic_string_view) if C++ 17 is detected or if `JSONCONS_HAS_STD_STRING_VIEW` is defined, otherwise proxied.
25
+
`string_view_type`|A non-owning view of a string, holds a pointer to character data and length. Supports conversion to and from strings. Will be typedef-ed to the C++ 17 [std::string view](http://en.cppreference.com/w/cpp/string/basic_string_view) if C++ 17 is detected or if `JSONCONS_HAS_STD_STRING_VIEW` is defined, otherwise proxied.
0 commit comments