title: C# - JObject.Parse - Invalid JSON
body: <p>I'm working with an API that is returning JSON.</p>
  
  <p>I have a method that calls the api, and parses the JSON response for the desired nodes.</p>
  
  <p>Up to this point everything has been working fine, except the latest JSON response appears to be malformed.</p>
  
  <p>Other responses come back like:</p>
  
  <pre><code>{
     "Keyword":"\"marhope\"",
     "TermKey":null,
     "Customers":[
        {
           "Memberships":[ ],
           "CompanyId":0,
           "ObjectId":112974,
           "ObjectType":"Customer",
  
        }
     ]
  }
  </code></pre>
  
  <p>I use JObject.Parse to bring back the appropriate nodes by name.</p>
  
  <p>The latest JSON response comes back as:</p>
  
  <pre><code>{
     [
        {
           "AnimalId":9079117,
           "SpeciesCode":"XX",
        }
     ]
  }   
  </code></pre>
  
  <p>As you can see, there is no "name", and the JSON is slightly invalid.</p>
  
  <p>How can I parse this. For the first example I was using the code below, but now that the JSON has no "name", I don't know how to approach this, thoughts?</p>
  
  <pre><code>JObject results = JObject.Parse(csr.SearchCustomer(1, 1, 870, term));
  foreach (var resp in results["Customers"])
  {
      string obj = (string)resp["CompanyId"];
  }
  </code></pre>