title: Deserializing JSON and converting them to C# objects
body: <p>I have a silverlight web application. From this app I am making a call to JSP pages using <code>WebClient</code> class. Now JSP returns a response in JSON format</p>
  
  <pre><code>{
   "results":[{"Value":"1","Name":"Advertising"},
   {"Value":"2","Name":"Automotive Expenses"},{"Value":"3","Name":"Business Miscellaneous"}]
  }
  </code></pre>
  
  <p>The above response is assigned to my Stream object.</p>
  
  <p>I have a c# class CategoryType</p>
  
  <pre><code>public class CategoryType
  {
   public string Value{get;set;}
   public string Name{get;set;}
  }
  </code></pre>
  
  <p>My aim is to convert the reponses in to <code>Collection&lt;CategoryType&gt;</code> and use it in my C# Code</p>
  
  <p>As of now I am trying to use <code>DataContractJSONSerialiser</code>. But not sure if there is an easy and efficent way to do this. Any help would be appreciated</p>