cJSON icon indicating copy to clipboard operation
cJSON copied to clipboard

Need for cJSON_SetBooleanValue

Open yeti7 opened this issue 6 years ago • 1 comments

There is no way to update existing boolean item. The only path I see is to check if the new value matches the old and if it doesn't then delete the old item and create new item. cJSON_SetBooleanValue would be a better option.

yeti7 avatar Jan 24 '19 23:01 yeti7

Same problem here. A better solution then creating new objects will be just to fiddle with the type field

sdrsdr avatar Jan 04 '22 21:01 sdrsdr