{"action":"opened","issue":{"url":"https://api.github.com/repos/meetecho/janus-gateway/issues/1010","repository_url":"https://api.github.com/repos/meetecho/janus-gateway","labels_url":"https://api.github.com/repos/meetecho/janus-gateway/issues/1010/labels{/name}","comments_url":"https://api.github.com/repos/meetecho/janus-gateway/issues/1010/comments","events_url":"https://api.github.com/repos/meetecho/janus-gateway/issues/1010/events","html_url":"https://github.com/meetecho/janus-gateway/issues/1010","id":259821354,"number":1010,"title":"session_id and handler_id are too large","user":{"login":"mzanetti","id":102573,"avatar_url":"https://avatars3.githubusercontent.com/u/102573?v=4","gravatar_id":"","url":"https://api.github.com/users/mzanetti","html_url":"https://github.com/mzanetti","followers_url":"https://api.github.com/users/mzanetti/followers","following_url":"https://api.github.com/users/mzanetti/following{/other_user}","gists_url":"https://api.github.com/users/mzanetti/gists{/gist_id}","starred_url":"https://api.github.com/users/mzanetti/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mzanetti/subscriptions","organizations_url":"https://api.github.com/users/mzanetti/orgs","repos_url":"https://api.github.com/users/mzanetti/repos","events_url":"https://api.github.com/users/mzanetti/events{/privacy}","received_events_url":"https://api.github.com/users/mzanetti/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2017-09-22T13:50:07Z","updated_at":"2017-09-22T13:50:07Z","closed_at":null,"author_association":"NONE","body":"the session/handler ids are long integer values. This imposes an issue with some json parsers.\r\n\r\nThe JSON standard says that one should use the format of JavaScript numbers. The JavaScript standard says that all numbers should be stored as double-precision floating points... but this format doesn't have enough precision to store 64-bit integers.\r\n\r\nIn my case this causes QJsonDocument to sometimes introduce rounding errors in the in session/handler id. At first I thought this is an issue in Qt, but doing a bit of research it seems that even though Qt could behave smarter, it's not the only lib falling for it.\r\n\r\n[1] https://forum.qt.io/topic/66153/qjsondocument-loses-accuracy-on-long-long-int64-data/9\r\n[2] https://cdivilly.wordpress.com/2012/04/11/json-javascript-large-64-bit-integers/"}}
{"actor":{"display_login":"mzanetti"}}