int64
then your decoded value must me int64
. Although I realize now, the valuew can be verified further like the base64 string.
Note that when such software is used, numbers that are integers and are in the range [-(2^53)+1, (2^53)-1] are interoperable in the sense that implementations will agree exactly on their numeric values.
int
values to int
field. If the tjson data has a sting field specified to be an int, at runtime it becomes harder to get the API right!
type Number struct{
Double int64
}
{“Double”:12345}
{“Double:i”:”12345"}