title: JSON Can't be Deserialized to Object, Needs Array?
body: <p>I am trying to take the incoming JSON items and bind them to listbox items but I am told by visual studio that I need to do an Array and not Object? I've never had to do this... Anyone know how?</p>
  
  <p>My RootObject:</p>
  
  <pre><code>public class RootObject
  {
      public string url { get; set; }
      public string display { get; set; }
      public List&lt;string&gt; genetics { get; set; }
      public List&lt;string&gt; price { get; set; }
      public List&lt;string&gt; brandMaker { get; set; }
      public string form { get; set; }
      public string dosornos { get; set; }
      public string qty { get; set; }
      public string mfg { get; set; }
      public string mobURI { get; set; }
  }
  </code></pre>
  
  <p>Note: Genetics, Price, BrandMaker don't actually return anything but a value, like below:</p>
  
  <pre><code>"genetics": [
      "typeophere"
  ],
  "price": [
      "$1400"
  ],
  </code></pre>
  
  <p>JSON FILE/REQUEST BASIC RESULT:</p>
  
  <pre><code>  [
  {
      "url": "N/A",
      "display": "",
      "genetics": [
          "microogiz"
      ],
      "price": [
          "96.016"
      ],
      "brandMaker": [
          "Oshi Kunti Multikashi, Osaka, JP"
      ],
      "form": "tangent",
      "dosornos": "n/a",
      "qty": "88G",
      "mfg": "SelfMade Industries, USA Dist.",
      "mobURI": "n/a"
  }
  </code></pre>
  
  <p>]</p>
  
  <p>My original code:</p>
  
  <pre><code>// Get JSON via WEB
  string ProviderURI = goURI;
  webClient webClient = new WebClient();
  webClient.DownloadStringCompleted += new  
      DownloadStringCompletedEventHandler(webClient_DownloadStringCompleted);
  webClient.DownloadStringAsync(new Uri(ProviderURI));
  
  void webClient_DownloadStringCompleted(object sender, DownloadStringCompletedEventArgs e)
  {
      if (e.Error != null)
      {
          return;
      }
  
      var deserializedJSON = JsonConvert.DeserializeObject&lt;RootObject&gt;(e.Result);
      lstBoxResults.ItemsSource = deserializedJSON; // or deserializedJSON.url.ToString();
  }
  </code></pre>