i am trying to parse a json array,i am facing problem.
My array is like this:
configure: { \"id\": 4, \"userId\": 107, \"deviceMacAddress\": \"
If you want to access the array as a json object, you should get it as a json_object* but not a array_list*
struct json_object *lArray; ... lArray=json_object_get(medi_obj); tmp1_obj = json_object_object_get(json_object_array_get_idx(lArray, 0), "name");