Release 0.138.0
·
6636 commits
to master
since this release
Defect fix:
- Fixes issue in
csv_parserparsing a CSV file withmapping_kind::m_columns,
when parsing a quoted string containing a numeric value, processing it as a
number rather than as a string.
Changes:
- It is no longer neccessay to place a semicolon after
JSONCONS_TYPE_TRAITS_FRIEND
Enhancements:
- New convenience macro to master for generating
json_type_traitsfor polymorphic types,
based on the presence of properties,
JSONCONS_POLYMORPHIC_TRAITS_DECL(base_class_name,derived_class_name0,derived_class_name1,...) -
The convenience macros
JSONCONS_MEMBER_TRAITS_DECL,JSONCONS_STRICT_MEMBER_TRAITS_DECL,
JSONCONS_TPL_MEMBER_TRAITS_DECL,JSONCONS_TPL_STRICT_MEMBER_TRAITS_DECL,
JSONCONS_MEMBER_TRAITS_NAMED_DECL,JSONCONS_STRICT_MEMBER_TRAITS_NAMED_DECL,
JSONCONS_TPL_MEMBER_TRAITS_NAMED_DECL, andJSONCONS_TPL_STRICT_MEMBER_TRAITS_NAMED_DECL
now allow you to haveconstorstatic constdata members that are serialized. -
basic_csv_encodernow supports json values that map to multi-valued fields and
json objects where each member is a name-array pair. -
basic_csv_parserandbasic_csv_encodernow support nan, infinity,
and minus infinity substitution
Deprecated basic_csv_options functions removed:
- basic_csv_options& column_names(const std::vector<string_type>&)
- basic_csv_options& column_defaults(const std::vector<string_type>& value)
- column_types(const std::vector<string_type>& value)
(Instead, use the versions that take comma-delimited strings)