{"action":"created","issue":{"url":"https://api.github.com/repos/soranoba/mustache/issues/2","labels_url":"https://api.github.com/repos/soranoba/mustache/issues/2/labels{/name}","comments_url":"https://api.github.com/repos/soranoba/mustache/issues/2/comments","events_url":"https://api.github.com/repos/soranoba/mustache/issues/2/events","html_url":"https://github.com/soranoba/mustache/issues/2","id":73704752,"number":2,"title":"Keys as atoms","user":{"login":"tsloughter","id":36227,"avatar_url":"https://avatars.githubusercontent.com/u/36227?v=3","gravatar_id":"","url":"https://api.github.com/users/tsloughter","html_url":"https://github.com/tsloughter","followers_url":"https://api.github.com/users/tsloughter/followers","following_url":"https://api.github.com/users/tsloughter/following{/other_user}","gists_url":"https://api.github.com/users/tsloughter/gists{/gist_id}","starred_url":"https://api.github.com/users/tsloughter/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tsloughter/subscriptions","organizations_url":"https://api.github.com/users/tsloughter/orgs","repos_url":"https://api.github.com/users/tsloughter/repos","events_url":"https://api.github.com/users/tsloughter/events{/privacy}","received_events_url":"https://api.github.com/users/tsloughter/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-05-06T18:45:35Z","updated_at":"2015-05-08T16:27:30Z","closed_at":null,"body":"Rebar and relx templates use atoms as keys. Could mustache convert the data key to an atom if the value isn't found for the string, at least?"},"comment":{"url":"https://api.github.com/repos/soranoba/mustache/issues/comments/100286885","html_url":"https://github.com/soranoba/mustache/issues/2#issuecomment-100286885","issue_url":"https://api.github.com/repos/soranoba/mustache/issues/2","id":100286885,"user":{"login":"soranoba","id":4954289,"avatar_url":"https://avatars.githubusercontent.com/u/4954289?v=3","gravatar_id":"","url":"https://api.github.com/users/soranoba","html_url":"https://github.com/soranoba","followers_url":"https://api.github.com/users/soranoba/followers","following_url":"https://api.github.com/users/soranoba/following{/other_user}","gists_url":"https://api.github.com/users/soranoba/gists{/gist_id}","starred_url":"https://api.github.com/users/soranoba/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/soranoba/subscriptions","organizations_url":"https://api.github.com/users/soranoba/orgs","repos_url":"https://api.github.com/users/soranoba/repos","events_url":"https://api.github.com/users/soranoba/events{/privacy}","received_events_url":"https://api.github.com/users/soranoba/received_events","type":"User","site_admin":false},"created_at":"2015-05-08T16:27:30Z","updated_at":"2015-05-08T16:27:30Z","body":"Master has been updated ! (v0.3.0)\r\n\r\n1.  Specify the type in key_type (See #4)\r\n```erlang\r\n# Default\r\n1> mustache:render(<<\"{{a}}\">>, [{\"a\", \"string\"}]).\r\n<<\"string\">>\r\n2> mustache:render(<<\"{{a}}\">>, [{a, \"atom\"}], [{key_type, atom}]).\r\n<<\"atom\">>\r\n3> mustache:render(<<\"{{a}}\">>, [{<<\"a\">>, \"binary\"}], [{key_type, binary}]).\r\n<<\"binary\">>\r\n```\r\n\r\n2.  It is not exist conversion for key when key_type is the binary\r\nhttps://github.com/soranoba/mustache/blob/v0.3.0/src/mustache.erl#L314\r\n\r\n3.  Take over the key_type when you use the Lamda expressions.\r\nhttps://github.com/soranoba/mustache/blob/v0.3.0/src/mustache.erl#L138"}}