title: How to decode JSON
body: <p>I have my JSON in the following format:</p>
  
  <pre>
  { "news": 
     [ 
       { "fb": { "message": "try", "user": "789" } },
       { "feed": { "abstract": "cool", "title": "hey" } },
       { "tw": { "tweetid": "984327", "user": "gart"  } },
       { "fb": { "message": "fgt", "user": "690" } },
       { "tw": { "tweetid": "346", "user": "nfgdr" } },
       { "feed": { "abstract": "gredf", "title": "wret" } }
     ] 
  }
  </pre>
  
  <p>I have replaced double quotes so that it can be stored in a string.</p>
  
  <p>Now when I am trying to deserialize this using:</p>
  
  <pre><code>JavaScriptSerializer jss = new JavaScriptSerializer();
  
  jss.Deserialize&lt;XYZType&gt;(data);
  </code></pre>
  
  <p>It is giving the following error:</p>
  
  <pre>Invalid object passed in, member name expected. (1): {&quot;news&quot;:[{&quot;fb&quot;:{&quot;message&quot;:&quot;try&quot;,&quot;user&quot;:&quot;789&quot;}},{&quot;feed&quot;:{&quot;title&quot;:&quot;hey&quot;,&quot;abstract&quot;:&quot;cool&quot;}},{&quot;tw&quot;:{&quot;tweetid&quot;:&quot;984327&quot;,&quot;user&quot;:&quot;gart&quot;}},{&quot;fb&quot;:{&quot;message&quot;:&quot;fgt&quot;,&quot;user&quot;:&quot;690&quot;}},{&quot;tw&quot;:{&quot;tweetid&quot;:&quot;346&quot;,&quot;user&quot;:&quot;nfgdr&quot;}},{&quot;feed&quot;:{&quot;title&quot;:&quot;wret&quot;,&quot;abstract&quot;:&quot;gredf&quot;}}]}</pre>
  
  <p>Any help will be much appreciated.</p>