title: configuration.GetValue list returns null
body: <p>I am trying to read a list from appsettings.json file using the <code>GetValue&lt;T&gt;</code> method:</p>
  
  <pre><code>var builder = new ConfigurationBuilder().SetBasePath(System.AppContext.BaseDirectory)
                  .AddJsonFile("appsettings.json", optional: false, reloadOnChange: true);
  
  IConfigurationRoot configuration = builder.Build();
  var rr = configuration.GetValue&lt;IList&lt;ConnectionSettings&gt;&gt;("Connections");
  
  
  public class ConnectionSettings
  {
      public string Name { get; set; }
  
      public string Host { get; set; }
  
      public string Account { get; set; }
  
      public string Password { get; set; }
  }
  </code></pre>
  
  <p>and my appsettings.json</p>
  
  <pre><code>{
  "Connections": [
      {
        "Name": "",
        "Host": "192.168.1.5",
        "Account": "74687",
        "Password": "asdsdadsq"
      },
      {
        "Name": "",
        "Host": "127.0.0.1",
        "Account": "45654",
        "Password": "asdasads"
      }
    ]
  }
  </code></pre>
  
  <p>Problem is that I always get null and I dont understand why.</p>