title: Is this possible in JSON?
body: <p>I am currently working with json.net ! I know how to deserialize json data and how to map with our class. Now I am eager about some queries !</p>
  
  <p>Suppose my jsonstrings is</p>
  
  <pre><code>"attributes":{
              "color":"Brown",
              "condition":"Used",
              "currency":"USD",
              "price":"10500",
              "price_display":"$10,500",
           }
  </code></pre>
  
  <p>and my attribute class ( <em>in which i want to deserialize above string</em>) is</p>
  
  <pre><code>Public class Attribute
  {
          public string name{ get; set; }
          public string value{ get; set; }
  }
  </code></pre>
  
  <p>Now I am using following code for deserialization.!</p>
  
  <pre><code> JavaScriptSerializer ser = new JavaScriptSerializer();
   &lt;classname&gt; p = ser.Deserialize&lt;classname&gt;(jsonString);
  </code></pre>
  
  <p>And Obviously this code is not going to work for above jsonstring at all.</p>
  
  <p>Now How can I bind these name value pair in one class ?? Is this possible ?</p>
  
  <p><strong>In future, attributes may b more than 10 but format will be same as name value pair</strong></p>