Re-think number representation if needed
MangelMaxime opened this issue · comments
Maxime Mangel commented
Early on, it has been decided that non valid JavaScript numbers would be represented as string.
This is true for huge numbers like uint64
, int64
and decimal
for examples.
Should we re-consider this decision when rewriting Thoth.Json from scratch?
Maxime Mangel commented
Actually, I made a mistake and some of the small numbers also use strings instead of number.
Will be fixed in the next version of Thoth.Json, for huge number using string is the correct way of doing it right now.
Maxime Mangel commented
Fixed in version 7.0.0