{"action":"created","issue":{"url":"https://api.github.com/repos/ohler55/oj/issues/297","repository_url":"https://api.github.com/repos/ohler55/oj","labels_url":"https://api.github.com/repos/ohler55/oj/issues/297/labels{/name}","comments_url":"https://api.github.com/repos/ohler55/oj/issues/297/comments","events_url":"https://api.github.com/repos/ohler55/oj/issues/297/events","html_url":"https://github.com/ohler55/oj/issues/297","id":146419491,"number":297,"title":"Value converted to symbol.","user":{"login":"rkl74","id":8823720,"avatar_url":"https://avatars.githubusercontent.com/u/8823720?v=3","gravatar_id":"","url":"https://api.github.com/users/rkl74","html_url":"https://github.com/rkl74","followers_url":"https://api.github.com/users/rkl74/followers","following_url":"https://api.github.com/users/rkl74/following{/other_user}","gists_url":"https://api.github.com/users/rkl74/gists{/gist_id}","starred_url":"https://api.github.com/users/rkl74/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rkl74/subscriptions","organizations_url":"https://api.github.com/users/rkl74/orgs","repos_url":"https://api.github.com/users/rkl74/repos","events_url":"https://api.github.com/users/rkl74/events{/privacy}","received_events_url":"https://api.github.com/users/rkl74/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2016-04-06T20:10:16Z","updated_at":"2016-04-06T20:19:36Z","closed_at":null,"body":"Problem: Value gets converted to a symbol if the value starts with a colon.\r\nEx: \r\nrequire 'oj'\r\ns = %Q({\"key\":\": value\"})\r\ndata = Oj.load(s)\r\n\r\nreturns:\r\n=> {\"key\"=>:\" value\"}"},"comment":{"url":"https://api.github.com/repos/ohler55/oj/issues/comments/206542354","html_url":"https://github.com/ohler55/oj/issues/297#issuecomment-206542354","issue_url":"https://api.github.com/repos/ohler55/oj/issues/297","id":206542354,"user":{"login":"ohler55","id":118856,"avatar_url":"https://avatars.githubusercontent.com/u/118856?v=3","gravatar_id":"","url":"https://api.github.com/users/ohler55","html_url":"https://github.com/ohler55","followers_url":"https://api.github.com/users/ohler55/followers","following_url":"https://api.github.com/users/ohler55/following{/other_user}","gists_url":"https://api.github.com/users/ohler55/gists{/gist_id}","starred_url":"https://api.github.com/users/ohler55/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ohler55/subscriptions","organizations_url":"https://api.github.com/users/ohler55/orgs","repos_url":"https://api.github.com/users/ohler55/repos","events_url":"https://api.github.com/users/ohler55/events{/privacy}","received_events_url":"https://api.github.com/users/ohler55/received_events","type":"User","site_admin":false},"created_at":"2016-04-06T20:19:36Z","updated_at":"2016-04-06T20:19:36Z","body":"This has been mention in a previous issue. Checkout the Readme. Oj has different modes. The default is a marshaling mode that generates JSON that can be used to reconstitute and object. If you want a different mode then either set the default options or use Oj.load(s, mode: :strict)."}}