I use go-nats lib on server and client side to sendening int numbers via JSON over nats. I got sometimes (e.g 1475043 -> 1.474043e+06) from a JSON in number format e+00. It is a valid number JSON representation but get an unmarshal error.

json: cannot unmarshal number 1.474043e+06 into Go struct field Transaction.amount of type int