{"action":"opened","issue":{"url":"https://api.github.com/repos/EXIficient/exificient.js/issues/1","repository_url":"https://api.github.com/repos/EXIficient/exificient.js","labels_url":"https://api.github.com/repos/EXIficient/exificient.js/issues/1/labels{/name}","comments_url":"https://api.github.com/repos/EXIficient/exificient.js/issues/1/comments","events_url":"https://api.github.com/repos/EXIficient/exificient.js/issues/1/events","html_url":"https://github.com/EXIficient/exificient.js/issues/1","id":153843072,"number":1,"title":"Bug on encoding numbers in EXIforJSON","user":{"login":"shaohu","id":1808706,"avatar_url":"https://avatars.githubusercontent.com/u/1808706?v=3","gravatar_id":"","url":"https://api.github.com/users/shaohu","html_url":"https://github.com/shaohu","followers_url":"https://api.github.com/users/shaohu/followers","following_url":"https://api.github.com/users/shaohu/following{/other_user}","gists_url":"https://api.github.com/users/shaohu/gists{/gist_id}","starred_url":"https://api.github.com/users/shaohu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/shaohu/subscriptions","organizations_url":"https://api.github.com/users/shaohu/orgs","repos_url":"https://api.github.com/users/shaohu/repos","events_url":"https://api.github.com/users/shaohu/events{/privacy}","received_events_url":"https://api.github.com/users/shaohu/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2016-05-09T18:48:14Z","updated_at":"2016-05-09T18:48:14Z","closed_at":null,"body":"Hi guys,\r\n\r\nFirstly thanks a lot for this library, it helps a lot for my work. Good job!  \r\n\r\nWhen I tested the EXIforJSON functions, I found that there are some bugs on converting numbers. Attached is the test sample. In your [online demo](http://exificient.github.io/javascript/demo/processJSON.html), when you convert these JSON scripts into EXI and then convert them back, the numbers in \"coordinates\" will change.   \r\nI will be very grateful if you guys can fix this bug. Or you can tell me where is the bug, probably I can also help with it.\r\n\r\nRegards,\r\nHu Shao\r\n\r\n> \r\n{\r\n    \"type\": \"FeatureCollection\",\r\n    \"totalFeatures\": 2,\r\n    \"features\": [\r\n        {\r\n            \"type\": \"Feature\",\r\n            \"id\": \"poi.1\",\r\n            \"geometry\": {\r\n                \"type\": \"Point\",\r\n                \"coordinates\": [\r\n                    40.707587626256554,\r\n                    -74.01046109936333\r\n                ]\r\n            },\r\n            \"geometry_name\": \"the_geom\",\r\n            \"properties\": {\r\n                \"NAME\": \"museam\",\r\n                \"THUMBNAIL\": \"pics/22037827-Ti.jpg\",\r\n                \"MAINPAGE\": \"pics/22037827-L.jpg\"\r\n            }\r\n        },\r\n        {\r\n            \"type\": \"Feature\",\r\n            \"id\": \"poi.2\",\r\n            \"geometry\": {\r\n                \"type\": \"Point\",\r\n                \"coordinates\": [\r\n                    40.70754683896324,\r\n                    -74.0108375113659\r\n                ]\r\n            },\r\n            \"geometry_name\": \"the_geom\",\r\n            \"properties\": {\r\n                \"NAME\": \"stock\",\r\n                \"THUMBNAIL\": \"pics/22037829-Ti.jpg\",\r\n                \"MAINPAGE\": \"pics/22037829-L.jpg\"\r\n            }\r\n        }\r\n    ],\r\n    \"crs\": {\r\n        \"type\": \"EPSG\",\r\n        \"properties\": {\r\n            \"code\": \"4326\"\r\n        }\r\n    }\r\n}\r\n>\r\n\r\n"}}