mardi 18 novembre 2014

Parse nested json data in C# windows phone app


Vote count:

0




In a windows phone app I need to parse json data. I am able to get the value for keys which aren't nested. But if something is like Brackets inside brackets., I mean arrays, Then how to extract values from the json file? What I did was, parse in a JArray object, then from JToken I got the value of a specified string key. Like in the image in the link below, people has men and women, and men itself has many men with different ids.So if I have this complete thing as a string , how to print the value of the id of a particular man? I could have converted into JArray and access indexed values if there were no nested arrays here, but how to do it now?


http://1drv.ms/1HejyWY



asked 2 mins ago







Parse nested json data in C# windows phone app

Aucun commentaire:

Enregistrer un commentaire