-
Notifications
You must be signed in to change notification settings - Fork 3.5k
Open
Milestone
Description
With 2.0.0 let's try to get things right with the following breaking changes:
- Use
size_tinstead ofintfor lengths - Clean up the cJSON struct Clean up the cJSON struct #63
- Remove
cJSON_InitHooksin favor of Need public API to free returned strings (e.g. cJSON_Print) #5 - Remove
cJSON_GetErrorPtrin favor of Get rid of the global error pointer and replace it with a local one that gets passed to functions manually #59 - Maybe remove
cJSON_CreateIntArray,cJSON_CreateFloatArrayandcJSON_CreateDoubleArrayin favor of acJSON_CreateNumberArraymacro??? - Use case sensitive string comparison cJSON_strcasecmp:converted to lower case for comparison #13
- Maybe add
reallocsupport. (fall back to malloc if not specified available) - Return value for
cJSON_AddItemToObjectand other void functions Problem with cJSON_AddItem* functions #107 - error position instead of error pointer
- Allow allocator functions that take a
void *pointer with user data that get's passed through. -
cJSON_PrintPreallocated: Return size and useunsigned char*
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels