This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

cJSON error

Dear Sir.

I am using the cJSON driver .

When it comes to string it works fine .

However when I use integer and swap the lines

//cJSON_AddStringToObject(root, "payload", payload);
cJSON_AddNumberToObject(root, "payload", 1243);

I can use the debug , The program is halted.

Please Advise.

Parents Reply Children
No Data