cJSON to modify array of objects + adding additional values per object
I am currently having issues adding additional values to an array of objects.
The iteration seems to work somehow,
but I think I have to use the cjson_arrayforeach function differently
or get rid of some loops.
This my experimental code: