title: Best way to convert a JArray object to a List of dynamic ExpandoObjects
body: <p>Our angularjs spa is sending a list of dynamic objects to our backend. I've read that the best way to receive such a list is to use a JArray. Since our business layer is built to receive a list of dynamic objects I need to convert the array. </p>
  
  <p>For this reason I'm wondering what is the quickest and best way to convert the JArray object to dynamic List. Here is what I've come up with so far, using an exension that I am intending to use where needed..</p>
  
  <p>This works but I'm not sure if its efficient when the array contains many objects?</p>
  
  <pre><code>    public static IList&lt;dynamic&gt; ToDynamicList(this JArray data)
      {
          var dynamicData = new List&lt;dynamic&gt;();
          var expConverter = new ExpandoObjectConverter();
  
          foreach (var dataItem in data)
          {
              dynamic obj = JsonConvert.DeserializeObject&lt;ExpandoObject&gt;(dataItem.ToString(), expConverter);
              dynamicData.Add(obj);
          }
          return dynamicData;
      } 
  </code></pre>