cJSON v1.7.0 Release Notes

Release Date: 2017-12-31 // over 6 years ago
  • ๐Ÿ”‹ Features:

    • ๐Ÿ“š Large rewrite of the documentation, see #215
    • โž• Added the cJSON_GetStringValue function
    • โž• Added the cJSON_CreateStringReference function
    • โž• Added the cJSON_CreateArrayReference function
    • โž• Added the cJSON_CreateObjectReference function
    • ๐Ÿ‘€ The cJSON_Add...ToObject macros are now functions that return a pointer to the added item, see #226

    ๐Ÿ›  Fixes:

    • ๐Ÿ›  Fix a problem with GNUInstallDirs in the CMakeLists.txt, thanks @yangfl, see #210
    • ๐Ÿ›  Fix linking the tests when building as static library, see #213
    • New overrides for the CMake option BUILD_SHARED_LIBS, see #207

    Other Changes:

    • ๐Ÿ‘€ Readme: Explain how to include cJSON, see #211
    • โœ‚ Removed some trailing spaces in the code, thanks @yangfl, see #212
    • โšก๏ธ Updated Unity and json-patch-tests