Quantcast
Channel: .NET Framework Class Libraries forum
Viewing all articles
Browse latest Browse all 8156

how to deserialize JASON objects into windows phone or windows 8.1 application

$
0
0

Hello,

I created restful api service but i don't know how to parse it how to get the windows phone or windows 8.1 to use exactly I don't know which library should I use how to get data from JASON object. ofr example this is my classes that I need to get but I don't know how to get the data and put in the data what libraries should I use.

public class SubSite
    {
        public int id { get; set; }
        public string name { get; set; }
    }

    public class RootObject
    {
        public int id { get; set; }
        public int time { get; set; }
        public double srcLong { get; set; }
        public double srcLat { get; set; }
        public double destLong { get; set; }
        public double destLat { get; set; }
        public List<SubSite> subSites { get; set; }
    }

Regards,

Ayesh.




Viewing all articles
Browse latest Browse all 8156

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>