{"action":"opened","issue":{"url":"https://api.github.com/repos/aspnet/Configuration/issues/437","repository_url":"https://api.github.com/repos/aspnet/Configuration","labels_url":"https://api.github.com/repos/aspnet/Configuration/issues/437/labels{/name}","comments_url":"https://api.github.com/repos/aspnet/Configuration/issues/437/comments","events_url":"https://api.github.com/repos/aspnet/Configuration/issues/437/events","html_url":"https://github.com/aspnet/Configuration/issues/437","id":154785238,"number":437,"title":"Should AsEnumerable() include top level section elements?","user":{"login":"cesarbs","id":924164,"avatar_url":"https://avatars.githubusercontent.com/u/924164?v=3","gravatar_id":"","url":"https://api.github.com/users/cesarbs","html_url":"https://github.com/cesarbs","followers_url":"https://api.github.com/users/cesarbs/followers","following_url":"https://api.github.com/users/cesarbs/following{/other_user}","gists_url":"https://api.github.com/users/cesarbs/gists{/gist_id}","starred_url":"https://api.github.com/users/cesarbs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cesarbs/subscriptions","organizations_url":"https://api.github.com/users/cesarbs/orgs","repos_url":"https://api.github.com/users/cesarbs/repos","events_url":"https://api.github.com/users/cesarbs/events{/privacy}","received_events_url":"https://api.github.com/users/cesarbs/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2016-05-13T19:36:26Z","updated_at":"2016-05-13T19:36:26Z","closed_at":null,"body":"Given this config:\r\n\r\n    {\r\n      \"ConnectionStrings\": {\r\n        \"DefaultConnection\": \"foo\"\r\n      },\r\n      \"Logging\": {\r\n        \"IncludeScopes\": false,\r\n        \"LogLevel\": {\r\n          \"Default\": \"Debug\",\r\n          \"System\": \"Information\",\r\n          \"Microsoft\": \"Information\"\r\n        }\r\n      }\r\n    }\r\n\r\nIf you enumerate it, you get:\r\n\r\n    Logging: (null)\r\n    Logging:LogLevel: (null)\r\n    Logging:LogLevel:System: Information\r\n    Logging:LogLevel:Microsoft: Information\r\n    Logging:LogLevel:Default: Debug\r\n    Logging:IncludeScopes: False\r\n    ConnectionStrings: (null)\r\n    ConnectionStrings:DefaultConnection: foo\r\n\r\nNotice the `(null)`s. I think `AsEnumerable()` should only return actual key/value pairs and exclude the top level section elements, since they are not *really* key/value pairs themselves."}}