title: urlencoded values to Model
body: <p>so I have a url encoded string which I managed to convert to json using</p>
  
  <pre><code>Request.InputStream.Position = 0;
          var inputStream = new StreamReader(Request.InputStream);
          var json = inputStream.ReadToEnd();
  
          var dict = HttpUtility.ParseQueryString(json);
          var json3 = new JavaScriptSerializer().Serialize(
                                                   dict.Keys.Cast&lt;string&gt;()
                                                       .ToDictionary(k =&gt; k, k =&gt; dict[k]));
  </code></pre>
  
  <p>then I eventually converted it to a dynamic object, however what I would like to do is convert some of the properties to a collection of models. Are there any methods out there that would allow me to achieve the case below without having to write my own routine:</p>
  
  <p>this is what json3 looks like:</p>
  
  <pre><code>&gt;    {
  "inserted[0].Property1":"dsdsdsds","inserted[0].Property2":"323","inserted[1].Property1":"dsds",
  "inserted[1].Property2":"","inserted[1].Property3":"32",
  "updated[0].ID":"1","updated[0].Property3":"7",
  "updated[1].ID":"2","updated[1].Property3":"7","updated[1].Property4":"78",
  "page":"1","size":"10","orderBy":"","groupBy":"","filter":"","aggregates":""
  }
  </code></pre>
  
  <p>So I would like to get this and convert all the keys that starts with inserted[0] to a Model that we can call SomeClass that has Property1, Property2, ... Property4 esentially ending up with a List, same goes for all the keys that start with updated[x].</p>
  
  <p>Thanks,</p>