How to parse Json data from restful service in SL app? RRS feed

  • Question

  • When try to deserialize the JSON info in all app, need to define the class type at client site manually?

    For example, if Json data include a json object user. In order to get the data, need to define type like

    public class User
        public bool IsMember { get; set; }
        public string Name { get; set; }
        public int Age { get; set; }

    at client side?

    Is there anyway like service reference proxy to generate all types included in the services
    when accessing HTTP and REST-Based Services Directly?

    Monday, July 26, 2010 2:40 PM