{"action":"opened","issue":{"url":"https://api.github.com/repos/udp/json-builder/issues/7","labels_url":"https://api.github.com/repos/udp/json-builder/issues/7/labels{/name}","comments_url":"https://api.github.com/repos/udp/json-builder/issues/7/comments","events_url":"https://api.github.com/repos/udp/json-builder/issues/7/events","html_url":"https://github.com/udp/json-builder/issues/7","id":128395004,"number":7,"title":"Roundtrip fail","user":{"login":"miloyip","id":1195774,"avatar_url":"https://avatars.githubusercontent.com/u/1195774?v=3","gravatar_id":"","url":"https://api.github.com/users/miloyip","html_url":"https://github.com/miloyip","followers_url":"https://api.github.com/users/miloyip/followers","following_url":"https://api.github.com/users/miloyip/following{/other_user}","gists_url":"https://api.github.com/users/miloyip/gists{/gist_id}","starred_url":"https://api.github.com/users/miloyip/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/miloyip/subscriptions","organizations_url":"https://api.github.com/users/miloyip/orgs","repos_url":"https://api.github.com/users/miloyip/repos","events_url":"https://api.github.com/users/miloyip/events{/privacy}","received_events_url":"https://api.github.com/users/miloyip/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2016-01-24T13:02:26Z","updated_at":"2016-01-24T13:02:26Z","closed_at":null,"body":"Recently I encountered crash on some platform (Ubuntu) during a roundtrip of this JSON:\r\n~~~js\r\n[-9223372036854775808]\r\n~~~\r\n\r\nI saved it in valid-0013.json and run the test, which reproduces the problem but not crash on my machine (OS X El Capitan):\r\n\r\n~~~\r\n...\r\nRunning test: valid-0013.json\r\nmeasured len: 7\r\nserialized len: 7\r\nserialized:\r\n[ -e ]\r\nFailed to re-parse: 1:0: Expected digit after `e`\r\n~~~\r\n\r\nI found that several tests in test/main.cc are also failed. I make a note here as well.\r\n~~~\r\n...\r\nRunning test: valid-0003.json\r\nmeasured len: 36\r\nserialized len: 36\r\nserialized:\r\n{ \"min\": -1e+28.0, \"max\": 1e+28.0 }\r\nFailed to re-parse: 1:0: Unexpected `.` in object\r\n...\r\nRunning test: valid-0005.json\r\nmeasured len: 106\r\nserialized len: 106\r\nserialized:\r\n[ 12.0004, 1.7734, 15, -42, -1.7734, 1e+28.0, -1e+28.0, 1e-28.0, -1e-28.0, -18.3872, -2.1, -1.23457e+06 ]\r\nFailed to re-parse: 1:0: Expected , before .\r\n...\r\nRunning test: valid-0008.json\r\nmeasured len: 59\r\nserialized len: 59\r\nserialized:\r\n[ 400000.0, 4e-07.0, 400000.0, 4e+06.0, 4e-06.0, 4e+06.0 ]\r\nFailed to re-parse: 1:0: Expected , before .\r\n...\r\n~~~\r\n\r\nBTW, I discovered this during integrating Travis in https://github.com/miloyip/nativejson-benchmark ."}}