I was marshaling and unmarshaling JSONs using golang and when I want to do it with number fields golang transforms it in floating point numbers instead of use long numbers, for example. I have the following JSON: { "id": 12423434, "Name": "Fernando" } After marshal it to a map and unmarshal again to a json string I get: { "id":1.2423434e+07, "Name":"Fernando" } As you can see the "id" field is in
![JSON unmarshaling with long numbers gives floating point number](https://cdn-ak-scissors.b.st-hatena.com/image/square/98d6f053a97a87156775f60757c60865d0f2c47d/height=288;version=1;width=512/https%3A%2F%2Fcdn.sstatic.net%2FSites%2Fstackoverflow%2FImg%2Fapple-touch-icon%402.png%3Fv%3D73d79a89bded)