github DaveGamble/cJSON v1.7.14
1.7.14

latest releases: v1.7.17, v1.7.16, v1.7.15...
3 years ago

Note:

Since v1.7.13 changed the stucture of linkedlist to improve the efficiency of adding item to array/object, array->child->prev now is point to tail node, this won't change any behavior except for backward through the linkedlist.
The current backward through the linkedlist could be in this way:

cJSON *last = ...; // the last is known
cJSON *current_item = last;
do {
    current_item = current_item->prev;
} while(current_item != last);

Fixes:

  • optimize the way to find tail node, see #503
  • Fix WError error on macosx because NAN is a float. Thanks @sappo, see #484
  • Fix some bugs in detach and replace. Thanks @miaoerduo, see #456

Don't miss a new cJSON release

NewReleases is sending notifications on new releases.