Download Latest Version Version 0.11.1 source code.tar.gz (1.6 MB)
Email in envelope

Get an email when there's a new version of yyjson

Home / 0.11.0
Name Modified Size InfoDownloads / Week
Parent folder
README.md 2025-05-05 1.1 kB
Version 0.11.0 source code.tar.gz 2025-05-05 1.6 MB
Version 0.11.0 source code.zip 2025-05-05 1.8 MB
Totals: 3 Items   3.4 MB 0

Added

  • Add YYJSON_READ_ALLOW_BOM flag to allow UTF-8 BOM.
  • Add YYJSON_WRITE_FP_TO_FLOAT flag to write real numbers using single-precison.
  • Add YYJSON_WRITE_FP_TO_FIXED(prec) flag to write real numbers using fix-point notation.
  • Add set_fp_to_float() and set_fp_to_fixed() functions to control the output format of a specific number.
  • Add set_str_noesc() function to skip escaping for a specific string during writing.
  • Add yyjson_incr_read(), yyjson_incr_new(), yyjson_incr_free() functions for incremental DOM reading.

Changed

  • Rewrite the floating-point number to string functions with a new fast path.
  • When comments are allowed, return UNEXPECTED_END instead of INVALID_COMMENT for unclosed comments.
  • Truncated escape sequences now report the error position at the sequence start rather than the end.

Fixed

  • Fix some warnings when directly including yyjson.c: [#177]
  • Fix missing indent for YYJSON_TYPE_RAW in prettify function: [#178]
  • Fix bug in yyjson_mut_arr_iter_remove(): [#194]
  • Fix clang 19 documentation warnings.
  • Fix cmake 4 and cmake 3.5 warnings.
Source: README.md, updated 2025-05-05