title: JSONConvert DeserializeObject with nested array
body: <p>I have a model that contains and array of a different object type. The parent object deserializes fine but the nested array constantly fails.</p>
  
  <p>Here are my objects:</p>
  
  <pre><code>public class VenueRoomViewModel
  {
    public string Name { get; set; }
    public decimal HourCost { get; set; }
    public decimal DayCost { get; set; }
    public int MaxDelegate { get; set; }
    public string SpecialNotes { get; set; }
    public string Status { get; set; }
  
    [JsonProperty("AssociatedFacilities")]
    public List&lt;FacilityViewModel&gt; AssociatedFacilities { get; set; }
  }
  
  public class FacilityViewModel
  {
    public string FacilityName { get; set; }
    public int FacilityNo { get; set; }
    public string FacilityStatus { get; set; }
  }
  </code></pre>
  
  <p>I try and parse the json like this:</p>
  
  <pre><code>VenueRoomViewModel myVM = sonConvert.DeserializeObject&lt;VenueRoomViewModel&gt;(jsonModel);
  </code></pre>
  
  <p>and here is a copy of the json that it is trying to parse:</p>
  
  <pre><code>"{\"State\":1,\"No\":\"0\",\"Name\":\"test\",\"HourCost\":\"12\",\"DayCost\":\"12\",\"MaxDelegate\":\"12\",\"SpecialNotes\":\"blah blah blah\",\"Status\":\"A\",\"AssociatedFacilities\":\"[{\\\"FacilityStatus\\\":1,\\\"FacilityNo\\\":\\\"1\\\",\\\"FacilityName\\\":\\\"Overhead Projector\\\"},{\\\"FacilityStatus\\\":1,\\\"FacilityNo\\\":\\\"5\\\",\\\"FacilityName\\\":\\\"New Facility\\\"}]\",\"VenueNo\":\"2\"}"
  </code></pre>
  
  <p>If I parse the objects individually then it works fine but I can't seem to get it to work just parsing the string</p>
  
  <pre><code>var converter = new ExpandoObjectConverter();
  dynamic obj = JsonConvert.DeserializeObject&lt;ExpandoObject&gt;(jsonModel, converter);
  List&lt;FacilityViewModel&gt; facilities = JsonConvert.DeserializeObject&lt;List&lt;FacilityViewModel&gt;&gt;(obj.AssociatedFacilities);
  </code></pre>
  
  <p>this parses the nested array fine so I think the json is ok.</p>
  
  <p>Here's it working <a href="https://dotnetfiddle.net/znMYDZ" rel="nofollow noreferrer">https://dotnetfiddle.net/znMYDZ</a></p>