title: Filtering JSON based on value
body: <p>I have this object and would like to filter it based on the value of customer_email. For example, I only want to return commissions where the customer email is test@test.com. This is a simplified example of what a response would look like. Below is the method where I grab all the data.</p>
  
  <pre><code>public RootObject GetData(string customerEmail)
  {
      var data = new Commission();
      using (var httpClient = new HttpClient())
      {
              var requestContent = JObject.FromObject(new
              {
                  commission_id = data.id,
                  customer_email = customerEmail
  
              }).ToString();
  
          ......
  
          RootObject response = JsonConvert.DeserializeObject&lt;RootObject&gt;(responseContent);
  
          return response;
      }
  }
  </code></pre>
  
  <p>When I get the response, the information looks like this:</p>
  
  <pre><code>{"response":{
      "code":"200",
      "message":"OK: The request was successful. See response body for additional data.",
      "data":{
          "commissions":
          [{
          "commission_id":"12345",
          "customer_email":"test@test.com"
          },
          {
          "commission_id":"67890",
          "customer_email":"fake@fake.com"
          }]
  </code></pre>