title: How to extract a list from appsettings.json in .net core
body: <p>I have an appsettings.json file which looks like this:</p>
  
  <pre><code>{
      "someSetting": {
          "subSettings": [
              "one",
              "two",
              "three"
           ]
      }
  }
  </code></pre>
  
  <p>When I build my configuration root, and do something like <code>config["someSetting:subSettings"]</code> it returns null and the actual settings available are something like this:</p>
  
  <p><code>config["someSettings:subSettings:0"]</code></p>
  
  <p>Is there a better way of retrieving the contents of <code>someSettings:subSettings</code> as a list?</p>