{"action":"created","issue":{"url":"https://api.github.com/repos/spf13/viper/issues/260","repository_url":"https://api.github.com/repos/spf13/viper","labels_url":"https://api.github.com/repos/spf13/viper/issues/260/labels{/name}","comments_url":"https://api.github.com/repos/spf13/viper/issues/260/comments","events_url":"https://api.github.com/repos/spf13/viper/issues/260/events","html_url":"https://github.com/spf13/viper/issues/260","id":183165124,"number":260,"title":"Loading a YAML file makes all keys lowercase, but YAML keys are case sensitive.","user":{"login":"barsanuphe","id":3085373,"avatar_url":"https://avatars.githubusercontent.com/u/3085373?v=3","gravatar_id":"","url":"https://api.github.com/users/barsanuphe","html_url":"https://github.com/barsanuphe","followers_url":"https://api.github.com/users/barsanuphe/followers","following_url":"https://api.github.com/users/barsanuphe/following{/other_user}","gists_url":"https://api.github.com/users/barsanuphe/gists{/gist_id}","starred_url":"https://api.github.com/users/barsanuphe/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/barsanuphe/subscriptions","organizations_url":"https://api.github.com/users/barsanuphe/orgs","repos_url":"https://api.github.com/users/barsanuphe/repos","events_url":"https://api.github.com/users/barsanuphe/events{/privacy}","received_events_url":"https://api.github.com/users/barsanuphe/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2016-10-14T22:37:56Z","updated_at":"2016-10-14T22:45:27Z","closed_at":null,"body":"Since the recent changes, all keys have become lowercase. \r\nIf I'm not mistaken ([see this reply from YAML spec author](https://sourceforge.net/p/yaml/mailman/message/12307333/)), YAML keys are case sensitive. \r\nFor instance, calling GetStringMapStringSlice() while loading a YAML file makes all of the keys of the resulting map lowercase, which is unexpected and was not the previous behavior.\r\n"},"comment":{"url":"https://api.github.com/repos/spf13/viper/issues/comments/253937534","html_url":"https://github.com/spf13/viper/issues/260#issuecomment-253937534","issue_url":"https://api.github.com/repos/spf13/viper/issues/260","id":253937534,"user":{"login":"barsanuphe","id":3085373,"avatar_url":"https://avatars.githubusercontent.com/u/3085373?v=3","gravatar_id":"","url":"https://api.github.com/users/barsanuphe","html_url":"https://github.com/barsanuphe","followers_url":"https://api.github.com/users/barsanuphe/followers","following_url":"https://api.github.com/users/barsanuphe/following{/other_user}","gists_url":"https://api.github.com/users/barsanuphe/gists{/gist_id}","starred_url":"https://api.github.com/users/barsanuphe/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/barsanuphe/subscriptions","organizations_url":"https://api.github.com/users/barsanuphe/orgs","repos_url":"https://api.github.com/users/barsanuphe/repos","events_url":"https://api.github.com/users/barsanuphe/events{/privacy}","received_events_url":"https://api.github.com/users/barsanuphe/received_events","type":"User","site_admin":false},"created_at":"2016-10-14T22:45:27Z","updated_at":"2016-10-14T22:45:27Z","body":"If you have: \r\n\r\n```\r\nyaml_key:\r\n         Case Sensitive Key: \r\n               - value1\r\n               - value2\r\n```\r\nGetStringMapStringSlice(\"yaml_key\") now gives a map with a \"case sensitive key\" key."}}
{"actor":{"display_login":"barsanuphe"}}