Releases: alfmep/libujson
Releases · alfmep/libujson
Release 4.2.2
Release 4.2.1
- Added functionality to set limits on nesting depth, array and object size when parsing JSON. Limits are not enabled by default.
- Bug fixes.
Release 4.2.0
New in release 4.2.0:
- Support for JSON Schema version 2020-12
- New parsing implementation, removing dependency on Bison and Flex while also improving performance.
Release 4.1.3
Release 4.1.3
Release 4.1.2
- Class
ujson::jvalue
: Added methodstd::string describe (desc_format_t fmt=fmt_none) const;
using flags to control the output format instead of a number of arguments. The old describe() method is now deprecated. - Added support for JSON output in syntax highlighting.
- Utility
ujson-print
: Added option '-o,--color' to print JSON in color when output to a tty. - Utility
ujson-tool
: Added option '-o,--color' to print JSON in color when output to a tty.
Release 4.1.1
- Moved from autotools to cmake for building libujson.
- Made it possible to build on Windows using Visual Studio. Tested building static libraries and utilities using Visual Studio 2022 Community Edition.
- Improved handling of escape code '\uxxxx' in JSON strings. More than one consecutive '\uxxxx' escape sequence in a JSON string wasn't handled correctly.
- Added utility function
ujson::utf16_to_utf8()
that converts an UTF-16 string to an UTF-8 string.
Release 4.1.0
- Added convenience methods to check if a jvalue represents a specific JSON type.
- Added command 'patch' to utility application ujson-tool.
- Added test script to test JSON parsing using the test suite at https://github.com/nst/JSONTestSuite
- Fixed issue with converting class mpf_class to a string.
- Added class ujson::json_type_error. Methods in class ujson::jvalue that operates on a different JSON type that the instance currently represent used to throw std::logic_error, now they throw ujson::json_type_error instead.
Release 4.0.0
- Version number is now 4.0.0.
- Updated README.md to contain more info and examples.
- Updated doxygen documentation.
- Dropped support for JSON schema since it doesn't work as expected.
- Major API changes.
- The JSON parser is renamed from ujson::Json to ujson::jparser.
- Added utility application ujson-tool.
- Removed utility application ujson-cmp.
- Added example applications.
- Added test application and script to test JSON patches using the test cases defined at https://github.com/json-patch/json-patch-tests
- libujson is actually useful now.
Release 3.0.0
Release 3.0.0
Release 2.1.0
Release 2.1.0