title: dotnet core webapi json-api compliant querystring route
body: <p>I'm trying to grab the "status" and "all" key, value from the requested URL, and can't figure out how to build my class object.</p>
  
  <p>The JSON API specification I'm referring to can be found here:
  <a href="http://jsonapi.org/recommendations/#filtering" rel="nofollow noreferrer">http://jsonapi.org/recommendations/#filtering</a></p>
  
  <pre><code>// requested url
  /api/endpoint?filter[status]=all
  
  
  // my attempt at model binding
  public class FilterParams
  {
      public Dictionary&lt;string, string&gt; Filter { get; set; }
  }
  
  [HttpGet]
  public string Get([FromUri] FilterParams filter)
  {
      // never gets populated...
      var filterStatus = filter.Filter["status"];
  }
  </code></pre>