Can we extract Object (nested Object) name from this kind of JSON? I am able to count how many objects are in the json, but cannot extract value. ("27675","27676") I am using Newtonsoft
"27675":{
"entity_id":"27675",
"status":"complete",
"coupon_code":null,
"shipping_descript
},
"27676":{
"entity_id":"27676",
"status":"complete",
"coupon_code":null,
"shipping_descript
}
0
Comments
APIResult := JsonConvert.SerializeObject(result);
APIResult := JsonConvert.DeserializeObject(APIResult,GETDOTNETTYPE(APIResult));
JProperties := JObject1.Parse(APIResult);
FOR i := 0 TO JObject1.Count DO BEGIN
END;
Below is an example, how to get list of properties of JsonObject: