You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am not able to understand from the description about how can I use the json-builder to create json files from the software. Can you please post a bit more explanation on how to create JSON files using the functions.
I'm on a phone right now so the explanations might not be very detailed. You basically use the json_object_new function to create a new empty object, and then use the json_object_push to add new values into the object. Then you allocate a appropriate buffet using the json_measure function and use the json_serialize function to turn in into a string. After that you just open a file and write that string to the file. Done!
Activity
crides commentedon Jun 4, 2018
json_object_newfunction to create a new empty object, and then use thejson_object_pushto add new values into the object. Then you allocate a appropriate buffet using thejson_measurefunction and use thejson_serializefunction to turn in into a string. After that you just open a file and write that string to the file. Done!harkue commentedon Nov 6, 2019
Also we can add
examplefolder for sample code.