.NET 3.1 BIND JSON Config

public void ConfigureServices(IServiceCollection services)
{
    services.Configure<MyConfig>(configuration.GetSection("myConfig"));
Mateusz Juszczykowski