Skip to content

1.4.0

Compare
Choose a tag to compare
@FSMaxB FSMaxB released this 04 Mar 13:12
· 576 commits to master since this release

Features

  • Functions to check the type of an item (#120)
  • Use dllexport on windows and fvisibility on Unix systems for public functions (#116), thanks @mjerris
  • Remove trailing zeroes from printed numbers (#123)
  • Expose the internal boolean type cJSON_bool in the header (2d3520e)

Fixes

  • Fix handling of NULL pointers in cJSON_ArrayForEach (b47d0e3)
  • Make it compile with GCC 7 (fix -Wimplicit-fallthrough warning) (9d07917)

Other Improvements

  • internally use realloc if available (#110)
  • builtin support for fuzzing with afl (#111)
  • unit tests for the print functions (#112)
  • Always use buffered printing (#113)
  • simplify the print functions (#114)
  • Add the compiler flags -Wdouble-conversion, -Wparentheses and -Wcomma (#122)