title: reading JSON data remotely
body: <p><strong>UPDATE 1</strong></p>
  
  <p>i try to implement and but when i hover over my topic and i see the TopicId and TopicName are null and i see the data in <code>myJSON</code> string. </p>
  
  <p>what else i have to do? what i am missing?</p>
  
  <pre><code>Topic topic = new Topic();
   MemoryStream stream1 = new MemoryStream(Encoding.Unicode.GetBytes(myJSON));
   //stream1.Position = 0;
   DataContractJsonSerializer serialize = new DataContractJsonSerializer(typeof(Topic));
   //topic = (Topic)serialize.ReadObject(stream1);
   Topic p2 = (Topic)serialize.ReadObject(stream1);
   stream1.Close();  //later i will use in `using statement`
   stream1.Dispose();
  </code></pre>
  
  <p>PS: i just have only <code>Topic</code> class is that enough or do i have to create all the classes that jcolebrand showed below?</p>
  
  <p>i have created a class called Topic and in it i have two prop</p>
  
  <pre><code>[DataContract] 
      public class Topic 
      {       
          [DataMember]
          public string TopicId { get; set; }
          [DataMember]
          public string TopicName { get; set; } 
      } 
  </code></pre>
  
  <p><strong>UPDATE 1 END</strong></p>
  
  <p>I am working on a requirement that returns  JSON data and I need a way to parse the data and load that data into a dropdownlist and I'm looking for the element in JSON called <code>TopicName</code></p>
  
  <p>after the TopicName is extracted I will load that data into a DropDownList asp.net control
  (not using JQuery or JavaScript) </p>
  
  <p>here is JSON data:</p>
  
  <pre><code>[{"NS":{"Count":1},
    "Source":{"Acronym":"ABC","Name":"Name"},
    "Item":[{"Id":"12312",
             "Url":"http://sitename",
             "ContentItem":[{"NS":{"Count":1},
                             "SourceUrl":"sitename",
                             "ContentType":"text/xml",
                             "PersistentUrl":"sitename",
                             "Title":"MY TITLE",
                             "SelectionSpec":{"ClassList":"","ElementList":"","XPath":null},
                             "Language":{"Value":"eng","Scheme":"ISO 639-2"},
                             "Source":{"Acronym":"ABC","Name":"Name","Id":null},
                             "Topics":[{"Scheme":"ABC",
                                        "Topic":[{"TopicId":"6544","TopicName":"TOPIC NAME1"},
                                                 {"TopicId":"63453","TopicName":"TOPIC NAME2"},
                                                 {"TopicId":"2343","TopicName":"TOPIC NAME3"},
                                                 {"TopicId":"2342","TopicName":"TOPIC NAME4"}]
                                      }],
                             "ContentBody":null
                          }]
           }]
   },
  
  [{"NS":{"Count":1},"Source":{"Acronym":"ABC1","Name":"Name1"},"Item":[{"Id":"123121","Url":"http://sitename1","ContentItem":[{"NS":{"Count":1},"SourceUrl":"sitename","ContentType":"text/xml","PersistentUrl":"sitename1","Title":"MY TITLE1","SelectionSpec":{"ClassList":"","ElementList":"","XPath":null},"Language":{"Value":"eng","Scheme":"ISO 639-2"},
  "Source":{"Acronym":"ABC1","Name":"Name1","Id":null},"Topics":[{"Scheme":"ABC1","Topic":[{"TopicId":"65441","TopicName":"TOPIC NAME11"},{"TopicId":"634531","TopicName":"TOPIC NAME21"},{"TopicId":"23431","TopicName":"TOPIC NAME31"},{"TopicId":"23421","TopicName":"TOPIC NAME41"}]}],"ContentBody":null}]}]},
  </code></pre>