I'm using a json-c library in Linux.
I have a JSON object :
jobj = {
"person1": {
"Id": 12354,
"age": 12,
"place": "someplace"
},
"person2": {
"Id": 123,
"age": 122,
"place": "someplace"
}
}
I want to store this data to a file and later I want to read json data from the same.
Please give some idea how to do it.