title: ASP.NET Core Get Json Array using IConfiguration
body: <p>In appsettings.json</p>
  
  <pre><code>{
        "MyArray": [
            "str1",
            "str2",
            "str3"
        ]
  }
  </code></pre>
  
  <hr>
  
  <p>In Startup.cs</p>
  
  <pre><code>public void ConfigureServices(IServiceCollection services)
  {
       services.AddSingleton&lt;IConfiguration&gt;(Configuration);
  }
  </code></pre>
  
  <hr>
  
  <p>In HomeController</p>
  
  <pre><code>public class HomeController : Controller
  {
      private readonly IConfiguration _config;
      public HomeController(IConfiguration config)
      {
          this._config = config;
      }
  
      public IActionResult Index()
      {
          return Json(_config.GetSection("MyArray"));
      }
  }
  </code></pre>
  
  <hr>
  
  <p>There are my codes above, I got  null
  How to get the array?</p>