{"action":"created","issue":{"url":"https://api.github.com/repos/socketio/socket.io-client-cpp/issues/22","labels_url":"https://api.github.com/repos/socketio/socket.io-client-cpp/issues/22/labels{/name}","comments_url":"https://api.github.com/repos/socketio/socket.io-client-cpp/issues/22/comments","events_url":"https://api.github.com/repos/socketio/socket.io-client-cpp/issues/22/events","html_url":"https://github.com/socketio/socket.io-client-cpp/issues/22","id":86038135,"number":22,"title":"get_double() asserting on valid input ","user":{"login":"oh3netid","id":10240281,"avatar_url":"https://avatars.githubusercontent.com/u/10240281?v=3","gravatar_id":"","url":"https://api.github.com/users/oh3netid","html_url":"https://github.com/oh3netid","followers_url":"https://api.github.com/users/oh3netid/followers","following_url":"https://api.github.com/users/oh3netid/following{/other_user}","gists_url":"https://api.github.com/users/oh3netid/gists{/gist_id}","starred_url":"https://api.github.com/users/oh3netid/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/oh3netid/subscriptions","organizations_url":"https://api.github.com/users/oh3netid/orgs","repos_url":"https://api.github.com/users/oh3netid/repos","events_url":"https://api.github.com/users/oh3netid/events{/privacy}","received_events_url":"https://api.github.com/users/oh3netid/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":7,"created_at":"2015-06-08T05:46:51Z","updated_at":"2015-06-15T14:42:46Z","closed_at":"2015-06-15T14:42:46Z","body":"Hello, I am seeing get_double() asserting on sio_message.h: 48 when I send in an object with either an integer or value like \"5.0\".\r\n\r\nI guess while I'm at it I'll also request that something be done to prevent the assert on get_int() when a double is provided, like rounding or truncation?"},"comment":{"url":"https://api.github.com/repos/socketio/socket.io-client-cpp/issues/comments/112093734","html_url":"https://github.com/socketio/socket.io-client-cpp/issues/22#issuecomment-112093734","issue_url":"https://api.github.com/repos/socketio/socket.io-client-cpp/issues/22","id":112093734,"user":{"login":"melode11","id":3647507,"avatar_url":"https://avatars.githubusercontent.com/u/3647507?v=3","gravatar_id":"","url":"https://api.github.com/users/melode11","html_url":"https://github.com/melode11","followers_url":"https://api.github.com/users/melode11/followers","following_url":"https://api.github.com/users/melode11/following{/other_user}","gists_url":"https://api.github.com/users/melode11/gists{/gist_id}","starred_url":"https://api.github.com/users/melode11/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/melode11/subscriptions","organizations_url":"https://api.github.com/users/melode11/orgs","repos_url":"https://api.github.com/users/melode11/repos","events_url":"https://api.github.com/users/melode11/events{/privacy}","received_events_url":"https://api.github.com/users/melode11/received_events","type":"User","site_admin":false},"created_at":"2015-06-15T14:42:46Z","updated_at":"2015-06-15T14:42:46Z","body":"try tag 1.5.0"}}