Top "Cjson" questions

cJSON aims to be the dumbest possible parser that you can get your job done with.

Using cJSON to read in a JSON array

I am attempting to use the cJSON library, written by Dave Gamble, to read in the following JSON array: "items": [ { "…

c json cjson
What is the JSON Standard for an empty string or null variable?

I'm building an application that parses a JSON template and then replaces the values of the objects with new data. …

json cjson
create json object using cJSON.h

I am trying to create JSON object like below but I am not able to add the second item in …

c json cjson
How to read a string with cJSON

I am using cJSON but somehow I can't get the strings to work: void myfile() { cJSON* type = NULL; char text1[]="{\…

c json cjson