Why are 64bit integers json serialised as strings? #223
-
Hello, |
Beta Was this translation helpful? Give feedback.
Answered by
tomas-abrahamsson
Nov 18, 2022
Replies: 1 comment
-
The Json mapping section in the langage guide says that the int64 types are to be represented in JSON as a string: "JSON value will be a decimal string." I suppose this is to not lose accuracy when large values are represented as floats. |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
mira01
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The Json mapping section in the langage guide says that the int64 types are to be represented in JSON as a string: "JSON value will be a decimal string." I suppose this is to not lose accuracy when large values are represented as floats.