{"action":"created","issue":{"url":"https://api.github.com/repos/pricingassistant/mrq/issues/110","labels_url":"https://api.github.com/repos/pricingassistant/mrq/issues/110/labels{/name}","comments_url":"https://api.github.com/repos/pricingassistant/mrq/issues/110/comments","events_url":"https://api.github.com/repos/pricingassistant/mrq/issues/110/events","html_url":"https://github.com/pricingassistant/mrq/pull/110","id":125163995,"number":110,"title":"Fixed OverflowError when returning job IDs","user":{"login":"FlorianPerucki","id":7050462,"avatar_url":"https://avatars.githubusercontent.com/u/7050462?v=3","gravatar_id":"","url":"https://api.github.com/users/FlorianPerucki","html_url":"https://github.com/FlorianPerucki","followers_url":"https://api.github.com/users/FlorianPerucki/followers","following_url":"https://api.github.com/users/FlorianPerucki/following{/other_user}","gists_url":"https://api.github.com/users/FlorianPerucki/gists{/gist_id}","starred_url":"https://api.github.com/users/FlorianPerucki/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/FlorianPerucki/subscriptions","organizations_url":"https://api.github.com/users/FlorianPerucki/orgs","repos_url":"https://api.github.com/users/FlorianPerucki/repos","events_url":"https://api.github.com/users/FlorianPerucki/events{/privacy}","received_events_url":"https://api.github.com/users/FlorianPerucki/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2016-01-06T11:58:37Z","updated_at":"2016-01-06T15:20:15Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/pricingassistant/mrq/pulls/110","html_url":"https://github.com/pricingassistant/mrq/pull/110","diff_url":"https://github.com/pricingassistant/mrq/pull/110.diff","patch_url":"https://github.com/pricingassistant/mrq/pull/110.patch"},"body":"Some ObjectId objects may lead to an OverflowError when dumped using usjon.dumps() :\r\n\r\n```\r\n>>> ujson.dumps(ObjectId(\"568cf86d7bd78100822b9b2e\"))\r\nTraceback (most recent call last):\r\n  File \"<stdin>\", line 1, in <module>\r\nOverflowError: Unsupported UTF-8 sequence length when encoding string\r\n```"},"comment":{"url":"https://api.github.com/repos/pricingassistant/mrq/issues/comments/169353153","html_url":"https://github.com/pricingassistant/mrq/pull/110#issuecomment-169353153","issue_url":"https://api.github.com/repos/pricingassistant/mrq/issues/110","id":169353153,"user":{"login":"sylvinus","id":410452,"avatar_url":"https://avatars.githubusercontent.com/u/410452?v=3","gravatar_id":"","url":"https://api.github.com/users/sylvinus","html_url":"https://github.com/sylvinus","followers_url":"https://api.github.com/users/sylvinus/followers","following_url":"https://api.github.com/users/sylvinus/following{/other_user}","gists_url":"https://api.github.com/users/sylvinus/gists{/gist_id}","starred_url":"https://api.github.com/users/sylvinus/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sylvinus/subscriptions","organizations_url":"https://api.github.com/users/sylvinus/orgs","repos_url":"https://api.github.com/users/sylvinus/repos","events_url":"https://api.github.com/users/sylvinus/events{/privacy}","received_events_url":"https://api.github.com/users/sylvinus/received_events","type":"User","site_admin":false},"created_at":"2016-01-06T15:20:15Z","updated_at":"2016-01-06T15:20:15Z","body":"Good catch! However output should stay JSON-encoded. You should use this instead:\r\nhttps://github.com/pricingassistant/mrq/blob/master/mrq/worker.py#L346"}}