Looping Json Items

  • Thread starter Thread starter loftty
  • Start date Start date
L

loftty

Guest
Hi All,

I have the following Json string

{
"FormID": "3604904",
"UniqueID": "616329415",
"First Name": {
"value": "Dave",
"type": "text"
},
"Last Name": {
"value": "Bassett",
"type": "text"
},
"Signature": {
"value": "https://",
"type": "signature"
},
"Instance Id": {
"value": "74625115-e63e-4e68-a4bf-4d8a601377cb",
"type": "text"
},
"record Id": {
"value": "1dccca2d-159b-4ae9-bf50-76ce639a08bb",
"type": "text"
},
"Form Id": {
"value": "",
"type": "text"
}
}


The names (First Name, Last Name etc) may change or not even be there, so can't create the object and do the following JsonConvert.DeserializeObject.

What would be the best way to iterate through each item?


Regards,

Ben

Continue reading...
 
Back
Top