{"action":"created","issue":{"url":"https://api.github.com/repos/gilt/apidoc-generator/issues/4","labels_url":"https://api.github.com/repos/gilt/apidoc-generator/issues/4/labels{/name}","comments_url":"https://api.github.com/repos/gilt/apidoc-generator/issues/4/comments","events_url":"https://api.github.com/repos/gilt/apidoc-generator/issues/4/events","html_url":"https://github.com/gilt/apidoc-generator/pull/4","id":59667363,"number":4,"title":"ruby: when converting to JSON, call to_f on decimals","user":{"login":"haywood","id":1062477,"avatar_url":"https://avatars.githubusercontent.com/u/1062477?v=3","gravatar_id":"","url":"https://api.github.com/users/haywood","html_url":"https://github.com/haywood","followers_url":"https://api.github.com/users/haywood/followers","following_url":"https://api.github.com/users/haywood/following{/other_user}","gists_url":"https://api.github.com/users/haywood/gists{/gist_id}","starred_url":"https://api.github.com/users/haywood/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/haywood/subscriptions","organizations_url":"https://api.github.com/users/haywood/orgs","repos_url":"https://api.github.com/users/haywood/repos","events_url":"https://api.github.com/users/haywood/events{/privacy}","received_events_url":"https://api.github.com/users/haywood/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-03-03T16:32:54Z","updated_at":"2015-03-19T11:59:02Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/gilt/apidoc-generator/pulls/4","html_url":"https://github.com/gilt/apidoc-generator/pull/4","diff_url":"https://github.com/gilt/apidoc-generator/pull/4.diff","patch_url":"https://github.com/gilt/apidoc-generator/pull/4.patch"},"body":"JSON serailziers for ruby know how to handle Floats,\r\nbut not necessarily BigDecimals."},"comment":{"url":"https://api.github.com/repos/gilt/apidoc-generator/issues/comments/83523270","html_url":"https://github.com/gilt/apidoc-generator/pull/4#issuecomment-83523270","issue_url":"https://api.github.com/repos/gilt/apidoc-generator/issues/4","id":83523270,"user":{"login":"haywood","id":1062477,"avatar_url":"https://avatars.githubusercontent.com/u/1062477?v=3","gravatar_id":"","url":"https://api.github.com/users/haywood","html_url":"https://github.com/haywood","followers_url":"https://api.github.com/users/haywood/followers","following_url":"https://api.github.com/users/haywood/following{/other_user}","gists_url":"https://api.github.com/users/haywood/gists{/gist_id}","starred_url":"https://api.github.com/users/haywood/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/haywood/subscriptions","organizations_url":"https://api.github.com/users/haywood/orgs","repos_url":"https://api.github.com/users/haywood/repos","events_url":"https://api.github.com/users/haywood/events{/privacy}","received_events_url":"https://api.github.com/users/haywood/received_events","type":"User","site_admin":false},"created_at":"2015-03-19T11:59:02Z","updated_at":"2015-03-19T11:59:02Z","body":"Actually, the right solution is probably to add JSON serialization for bigdecimals to our legacy rails app. It seems like there is builtin support for JSON serialization in rails 3+..."}}