Skip to content

Version 0.5.0

Compare
Choose a tag to compare
@ibireme ibireme released this 25 May 19:58
· 186 commits to master since this release
dd17081

Added

  • Add LibFuzzer support.
  • Add Doxygen support.
  • Add functions to support serializing a single JSON value.
  • Add yyjson_mut_doc_mut_copy(), yyjson_mut_val_mut_copy(), yyjson_mut_merge_patch() function for mutable input.
  • Add yyjson_equals() and yyjson_mut_equals() function to compare two values.
  • Add yyjson_mut_obj_remove_key() and yyjson_mut_obj_remove_keyn() to make it easier to remove a key.
  • Add YYJSON_READ_NUMBER_AS_RAW option and RAW type support.
  • Add YYJSON_READ_ALLOW_INVALID_UNICODE and YYJSON_WRITE_ALLOW_INVALID_UNICODE options to allow invalid unicode.

Changed

  • Change yyjson_mut_obj_remove() return type from bool to yyjson_mut_val *.
  • Rewrite string serialization function, validate unicode encoding by default.
  • Rewrite the JSON Pointer implementation, remove internal malloc() calls.

Fixed

  • Make the code work correctly with setlocale() function and fast-math flag: #54
  • Fix negative infinity literals read error: #64
  • Fix non null-terminated string write error.
  • Fix incorrect behavior of YYJSON_DISABLE_NON_STANDARD flag: #80