{"action":"created","issue":{"url":"https://api.github.com/repos/amatsuda/jb/issues/9","repository_url":"https://api.github.com/repos/amatsuda/jb","labels_url":"https://api.github.com/repos/amatsuda/jb/issues/9/labels{/name}","comments_url":"https://api.github.com/repos/amatsuda/jb/issues/9/comments","events_url":"https://api.github.com/repos/amatsuda/jb/issues/9/events","html_url":"https://github.com/amatsuda/jb/issues/9","id":196399669,"number":9,"title":"Unknown keyword problem","user":{"login":"zeitnot","id":1460930,"avatar_url":"https://avatars.githubusercontent.com/u/1460930?v=3","gravatar_id":"","url":"https://api.github.com/users/zeitnot","html_url":"https://github.com/zeitnot","followers_url":"https://api.github.com/users/zeitnot/followers","following_url":"https://api.github.com/users/zeitnot/following{/other_user}","gists_url":"https://api.github.com/users/zeitnot/gists{/gist_id}","starred_url":"https://api.github.com/users/zeitnot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zeitnot/subscriptions","organizations_url":"https://api.github.com/users/zeitnot/orgs","repos_url":"https://api.github.com/users/zeitnot/repos","events_url":"https://api.github.com/users/zeitnot/events{/privacy}","received_events_url":"https://api.github.com/users/zeitnot/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2016-12-19T12:14:03Z","updated_at":"2016-12-28T11:46:33Z","closed_at":null,"body":"I am using rails 4.2.7.1. Basically when I set `{ id: ''}` value to .jb template file it says `unknown keyword: id`. Then I add `.to_json` at and end of `{ id: ''}` hash expression. But at this stage it produces bad JSON-like string which browsers do not understand. \r\n```json\r\n\"{\\\"id\\\":\\\"\\\"}\\n}\\n\\n\"\r\n```\r\nDue to the fact that there are special characters in this string browsers do not understand whether the string is JSON or not even if the server sends `Content-Type: application/json` header. Maybe there is a proper way but as I read from the documentation I could not find any way. "},"comment":{"url":"https://api.github.com/repos/amatsuda/jb/issues/comments/269466521","html_url":"https://github.com/amatsuda/jb/issues/9#issuecomment-269466521","issue_url":"https://api.github.com/repos/amatsuda/jb/issues/9","id":269466521,"user":{"login":"zeitnot","id":1460930,"avatar_url":"https://avatars.githubusercontent.com/u/1460930?v=3","gravatar_id":"","url":"https://api.github.com/users/zeitnot","html_url":"https://github.com/zeitnot","followers_url":"https://api.github.com/users/zeitnot/followers","following_url":"https://api.github.com/users/zeitnot/following{/other_user}","gists_url":"https://api.github.com/users/zeitnot/gists{/gist_id}","starred_url":"https://api.github.com/users/zeitnot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zeitnot/subscriptions","organizations_url":"https://api.github.com/users/zeitnot/orgs","repos_url":"https://api.github.com/users/zeitnot/repos","events_url":"https://api.github.com/users/zeitnot/events{/privacy}","received_events_url":"https://api.github.com/users/zeitnot/received_events","type":"User","site_admin":false},"created_at":"2016-12-28T11:46:33Z","updated_at":"2016-12-28T11:46:33Z","body":"@binarydev I have tried the syntax like following:\r\n\r\n```json\r\n{ \"id\": \"\" }\r\n```\r\n\r\nIt says `unknown keyword: id`. But when I try \r\n```json\r\n{ \"id\" => \"\" }\r\n```\r\n\r\nnot it says `no implicit conversion of Hash into String`\r\n\r\n"}}
{"actor":{"display_login":"zeitnot"}}