{"action":"created","issue":{"url":"https://api.github.com/repos/textmate/toml.tmbundle/issues/5","labels_url":"https://api.github.com/repos/textmate/toml.tmbundle/issues/5/labels{/name}","comments_url":"https://api.github.com/repos/textmate/toml.tmbundle/issues/5/comments","events_url":"https://api.github.com/repos/textmate/toml.tmbundle/issues/5/events","html_url":"https://github.com/textmate/toml.tmbundle/pull/5","id":58431242,"number":5,"title":"Allow quoted keys.","user":{"login":"mojombo","id":1,"avatar_url":"https://avatars.githubusercontent.com/u/1?v=3","gravatar_id":"","url":"https://api.github.com/users/mojombo","html_url":"https://github.com/mojombo","followers_url":"https://api.github.com/users/mojombo/followers","following_url":"https://api.github.com/users/mojombo/following{/other_user}","gists_url":"https://api.github.com/users/mojombo/gists{/gist_id}","starred_url":"https://api.github.com/users/mojombo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mojombo/subscriptions","organizations_url":"https://api.github.com/users/mojombo/orgs","repos_url":"https://api.github.com/users/mojombo/repos","events_url":"https://api.github.com/users/mojombo/events{/privacy}","received_events_url":"https://api.github.com/users/mojombo/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-02-21T00:53:58Z","updated_at":"2015-02-23T23:06:07Z","closed_at":"2015-02-22T11:05:01Z","pull_request":{"url":"https://api.github.com/repos/textmate/toml.tmbundle/pulls/5","html_url":"https://github.com/textmate/toml.tmbundle/pull/5","diff_url":"https://github.com/textmate/toml.tmbundle/pull/5.diff","patch_url":"https://github.com/textmate/toml.tmbundle/pull/5.patch"},"body":"TOML v0.4.0 states:\r\n\r\n> Keys may be either bare or quoted. Bare keys may only contain letters, numbers, underscores, and dashes (`A-Za-z0-9_-`). Quoted keys follow the exact same rules as basic strings and allow you to use a much broader set of key names. Best practice is to use bare keys except when absolutely necessary.\r\n\r\nThis PR takes a pretty simple approach to adding this feature. It allows anything at all in quoted keys (including bare `\"`s. It also doesn't do any detection of escape sequences or error checking for invalid escape sequences, as I haven't figured out the right way to do that in TextMate grammars yet."},"comment":{"url":"https://api.github.com/repos/textmate/toml.tmbundle/issues/comments/75657749","html_url":"https://github.com/textmate/toml.tmbundle/pull/5#issuecomment-75657749","issue_url":"https://api.github.com/repos/textmate/toml.tmbundle/issues/5","id":75657749,"user":{"login":"mojombo","id":1,"avatar_url":"https://avatars.githubusercontent.com/u/1?v=3","gravatar_id":"","url":"https://api.github.com/users/mojombo","html_url":"https://github.com/mojombo","followers_url":"https://api.github.com/users/mojombo/followers","following_url":"https://api.github.com/users/mojombo/following{/other_user}","gists_url":"https://api.github.com/users/mojombo/gists{/gist_id}","starred_url":"https://api.github.com/users/mojombo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mojombo/subscriptions","organizations_url":"https://api.github.com/users/mojombo/orgs","repos_url":"https://api.github.com/users/mojombo/repos","events_url":"https://api.github.com/users/mojombo/events{/privacy}","received_events_url":"https://api.github.com/users/mojombo/received_events","type":"User","site_admin":false},"created_at":"2015-02-23T23:06:07Z","updated_at":"2015-02-23T23:06:07Z","body":"Great, thanks! I purposefully changed the key scope to `variable` because it's not very useful to have keys colored the same as integers, floats, booleans, and dates. With the change, I've found comprehension to drastically improve, so I'm hoping very much that you'll decide to keep it. Also, from a logical perspective, keys in config files are much more like variables (in programming languages) than they are like constants. Assigning a constant to a constant doesn't make much sense, now does it!?"}}