0
json_object_new_boolean- Create a new boolean json object
Posted by Joys of Programming on in json-c
json_object_new_boolean is used to create a new boolean json object. The syntax of the function is A non-zero value can be considered as boolean true As you can see, it returns a pointer to the json object The following program shows the usage of the function The output of the program is something like this