hi, when i use the cjson to encode a number type json on the CC3200 of Cortex M4 ,the code is just like this.
//cJSON_AddNumberToObject(root, "error", 200);
not matter what value you input to the "error",the result is always be zero .
i don't know how to corrtect this issue ,some suggestion will be helpful.
it is quite ok while use it on the ATMEGA1284P of ATMEL.
Log in to post a comment.
hi, when i use the cjson to encode a number type json on the CC3200 of Cortex M4
,the code is just like this.
//cJSON_AddNumberToObject(root, "error", 200);
not matter what value you input to the "error",the result is always be zero .
i don't know how to corrtect this issue ,some suggestion will be helpful.
it is quite ok while use it on the ATMEGA1284P of ATMEL.
Last edit: xiaolonghun 2017-04-05