jsoncons breaking changes
Updated December 4, 2026
On this page
Latest version 1.9.0. Source repository
- From 0.178.0 to 1.0.0: 7 breaking changes in 1 version.
- From 0.123.0 to 1.0.0: 69 breaking changes in 32 versions.
jsoncons 1.0.0 breaking changes
- Removed
json_validator
The json_validator class, deprecated in 0.174.0, has been removed. Use the current jsonschema API instead. github.com - Removed
make_schema
The jsonschema function make_schema, deprecated in 0.174.0, has been removed. Use the current jsonschema API instead. github.com - Removed
validation_output
The validation_output class, deprecated in 0.174.0, has been removed. Use the current jsonschema API instead. github.com - Behavior changed
basic_json_parser
Since 0.179 the initial buffer is supplied with set_buffer and parsing starts with parse_some. Code that feeds text with update() followed by parse_some() must be changed. github.com - Behavior changed
basic_json.operator[]
The non-const operator[] taking a string key now returns a reference to the value, inserting a default value if the key is missing, like std::map. Code relying on the proxy type must change. github.com - Behavior changed
ResolveURI
The URI argument passed to the jsonschema ResolveURI function object now includes the fragment part of the URI. github.com - Default changed
basic_json_options.bignum_format
The default bignum_format changed from bigint_chars_format::base10 to bignum_format_kind::raw. Code relying on the old default output must set the format explicitly. github.com
jsoncons 0.178.0 breaking changes
- Behavior changed
basic_json
Copy construction now applies select_on_container_copy_construction to the allocator from the source. For pmr allocators this yields a default constructed allocator instead of a copy of the source's allocator. github.com
jsoncons 0.177.0 breaking changes
- Removed
Deprecated functions and type names identified in #487 were removed; code using them must switch to their replacements. github.com
jsoncons 0.176.0 breaking changes
- Removed
Support for the ancient g++ 4.8 and 4.9 compilers has been dropped, so builds with those compilers are no longer supported. github.com
jsoncons 0.175.0 breaking changes
- Signature changed
json_schema<Json>.validate
The callback overload of json_schema<Json>::validate must now be passed a lambda that returns walk_result::advance or walk_result::abort. Update existing callbacks to return these values. github.com - Signature changed
jsonpath.get
The return value of jsonpath::get changed from a pointer to the selected value (or null) to a std::pair<Json*,bool> whose bool reports success. Update callers that use the old return value. github.com
jsoncons 0.171.1 breaking changes
- Signature changed
dump_pretty
The signature of dump_pretty was fixed in this release, so calls written against the old signature may need to be updated. github.com
Older versions
27 older versions, each with its first changes. Sign up to see every change
Show 27 older versions
jsoncons 0.171.0 breaking changes
- Removed
Stateful allocators that do not propagate now cause a compile error and must be wrapped in std::scoped_allocator_adaptor. github.com - Renamed
Policy.string
Users defining a custom basic_json Policy must rename the string member to member_key. github.com
And 4 more in this version.
jsoncons 0.170.0 breaking changes
- Removed
jsonpath_expression.compile
The static compile functions on jsonpath_expression were removed; use make_expression instead. github.com
jsoncons 0.169.0 breaking changes
- Renamed
json_merge_patch
The namespace json_merge_patch is now mergepatch, and the include file json_merge_patch.hpp is now mergepatch.hpp under include/jsoncons/mergepatch. Update includes and namespace references. github.com
jsoncons 0.166.0 breaking changes
- Behavior changed
When a schema document contains a $schema keyword, compilation now checks that it names Draft 7. Schemas declaring another draft will fail to compile and must be updated to Draft 7 or have the keyword removed. github.com
jsoncons 0.165.0 breaking changes
- Behavior changed
Parsing now checks that the bytes read for a document, embedded document and array match the expected total. Inputs with mismatched lengths that previously parsed may now be rejected. github.com
jsoncons 0.164.0 breaking changes
- Behavior changed
result_options
The numeric values of result_options changed, so code using raw integers must be updated. Combinations that include value keep their meaning, and value can now be omitted. github.com
jsoncons 0.162.0 breaking changes
- Signature changed
json_query
The signatures of json_query were simplified, so existing calls may need to be updated. github.com - Signature changed
json_replace
The signatures of json_replace were simplified, so existing calls may need to be updated. github.com
And 1 more in this version.
jsoncons 0.161.0 breaking changes
- Behavior changed
Wrong argument counts for JMESPath functions are reported when the expression is compiled rather than when it is evaluated. Code catching these errors must move that handling. github.com - Behavior changed
json_query
Passing an empty string as the path argument to json_query is no longer accepted and raises a syntax error. github.com
And 1 more in this version.
jsoncons 0.160.0 breaking changes
- Removed
basic_json.to_string
The overload of to_string that takes basic_json_encode_options and a char allocator was removed. Call dump instead. github.com - Behavior changed
jsonpointer.flatten
Flattening an empty array or object used to produce null; it now produces [] or {}. Code that expects null for empty containers must be updated. github.com
jsoncons 0.158.0 breaking changes
- Behavior changed
jsoncons.convert_error
Conversion errors during decode are now thrown as jsoncons::convert_error, while parsing errors remain ser_error. Code that catches ser_error for conversion failures must also handle convert_error. github.com - Signature changed
_NAME_
The from and into function object parameters of the _NAME_ convenience macros are now in reverse order. Swap them if both are given, or precede a lone from with jsoncons::identity() (or std::identity() in C++20). github.com
jsoncons 0.157.2 breaking changes
- Behavior changed
decode_ubjson
On certain bad input, decode functions now throw ser_error where they previously threw assertion_error. Code that catches assertion_error for these cases must catch ser_error instead. github.com
jsoncons 0.154.0 breaking changes
- Behavior changed
ser_context.position
Previously position() on ser_context was only defined for name and string events and gave the position of the first character of the name or string. Now it is defined for all parse events and gives the position of the event's first... github.com
jsoncons 0.152.0 breaking changes
- Renamed
make_array_iterator
The factory function make_array_iterator() has been replaced by staj_array(). Update call sites. github.com - Renamed
make_object_iterator
The factory function make_object_iterator() has been replaced by staj_object(). Update call sites. github.com
jsoncons 0.149.0 breaking changes
- Renamed
JSONCONS_ALL_GETTER_CTOR_NAME_TRAITS
Macro names containing GETTER_CTOR now contain CTOR_GETTER; the old names are still supported, so existing code keeps compiling but should move to the new names. github.com
jsoncons 0.146.0 breaking changes
- Removed
json_content_handler.do_name
The private virtual function do_name of json_content_handler has been removed and replaced with do_key. Derived handlers must override do_key instead. github.com
jsoncons 0.143.1 breaking changes
- Renamed
basic_json.get_with_default
The basic_json get_with_default(name) function was deprecated and renamed to at_or_null(name), which returns a const reference. Update calls to the new name. github.com - Renamed
bstr_arg
The constant bstr_arg was renamed to byte_string_arg. Update code to use the new name. github.com
And 1 more in this version.
jsoncons 0.141.0 breaking changes
- Renamed
JSONCONS_ALL_PROPERTY_TRAITS_DECL
The macro JSONCONS_ALL_PROPERTY_TRAITS_DECL was deprecated and renamed to JSONCONS_ALL_GETTER_SETTER_TRAITS_DECL. Update code to use the new name. github.com - Renamed
JSONCONS_N_PROPERTY_TRAITS_DECL
The macro JSONCONS_N_PROPERTY_TRAITS_DECL was deprecated and renamed to JSONCONS_N_GETTER_SETTER_TRAITS_DECL. Update code to use the new name. github.com
And 1 more in this version.
jsoncons 0.140.0 breaking changes
- Renamed
Macros with _STRICT_ in their names are deprecated and renamed by substituting _ALL_ for STRICT. Update code to use the _ALL_ names. github.com
jsoncons 0.138.0 breaking changes
- Removed
basic_csv_options.column_defaults
The deprecated column_defaults overload taking a vector was removed; use the comma-delimited string version. github.com - Removed
basic_csv_options.column_names
The deprecated column_names overload taking a vector was removed; use the version that takes comma-delimited strings. github.com
And 2 more in this version.
jsoncons 0.137.0 breaking changes
- Signature changed
basic_json_content_handler.do_begin_object
The do_ virtual functions in basic_json_content_handler now take an extra std::error_code output parameter; custom handlers must update their overrides. github.com - Signature changed
csv_options.precision
The precision() parameter type of csv_options changed from int to int8_t. github.com
And 2 more in this version.
jsoncons 0.132.0 breaking changes
- Removed
basic_json
A previously deprecated constructor was removed. Code using it must be changed to another constructor. github.com
jsoncons 0.131.0 breaking changes
- Behavior changed
decode_csv
The decode_csv function moved from csv_reader.hpp to csv.hpp, so code including only csv_reader.hpp may need the new header. github.com - Behavior changed
encode_csv
The encode_csv function moved from csv_encoder.hpp to csv.hpp, so code including only csv_encoder.hpp may need the new header. github.com
jsoncons 0.129.1 breaking changes
- Removed
basic_json.null_type
The long deprecated basic_json member type null_type has been removed. Use jsoncons::null_type instead. github.com - Removed
filtered_staj_reader
The filtered_staj_reader class has been removed. Use a lambda expression in the constructor of json_pull_reader instead. github.com
And 2 more in this version.
jsoncons 0.127.0 breaking changes
- Removed
json_cursor
The json_cursor constructor that accepts a staj_filter no longer exists. Use a filtered_staj_reader instead. github.com - Renamed
staj_event.accept
The staj_event function accept has been renamed to read_to. github.com
jsoncons 0.126.0 breaking changes
- Behavior changed
CBOR bigfloats now decode into a hexadecimal string tagged as bigfloat instead of an array, and tagged strings are now encoded as CBOR bignums. The old array-based mapping is deprecated. github.com
jsoncons 0.125.0 breaking changes
- Renamed
big_integer_chars_format
The old enum name still works but is deprecated. Use bigint_chars_format. github.com - Renamed
big_integer_format
The old json_options modifier still works but is deprecated. Use bigint_format. github.com
And 2 more in this version.
jsoncons 0.123.0 breaking changes
- Behavior changed
Paths with a single dot immediately followed by a left bracket are now rejected as illegal JSONPath. github.com - Behavior changed
Unions in jsonpath no longer return duplicate values. Code relying on duplicates must change. github.com
Check your code
These are the changes. To see which of them reach your code, scan a public repository, or have your coding agent call check_code with your manifest or lockfile over MCP. The API reads every change in every version. A fix pull request opens for the changes that reach a connected repository. Nothing merges or deploys.

Put your code on continuous maintenance.
Scan a public repository now, or give your agent one line.
See how out of date your code is.
Tell your agent what changed since it was trained.
claude mcp add --transport http since https://api.since.dev/mcpCodex, Cursor and any MCP client use https://api.since.dev/mcp.