Skip to content

Releases: alfmep/libujson

Release 4.2.2

28 Jul 10:04
Compare
Choose a tag to compare
  • Fixed potential crash bug then moving objects of type ujson::jvalue.
  • Updated configuration of generated API documentation.

Release 4.2.1

18 Apr 04:46
Compare
Choose a tag to compare
  • 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

21 Dec 07:34
Compare
Choose a tag to compare

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

04 Oct 08:14
Compare
Choose a tag to compare

Release 4.1.3

Release 4.1.2

24 Sep 17:46
Compare
Choose a tag to compare
  • Class ujson::jvalue: Added method std::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

23 May 15:41
Compare
Choose a tag to compare
  • 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

23 Dec 13:39
Compare
Choose a tag to compare
  • 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

17 Dec 20:54
Compare
Choose a tag to compare
  • 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

21 Sep 15:58
Compare
Choose a tag to compare

Release 3.0.0

Release 2.1.0

04 Aug 17:22
Compare
Choose a tag to compare

Release 2.1.0