thoth-org / Thoth.Json

Library for working with JSON in a type safe manner, this libs is targeting Fable

Home Page:https://thoth-org.github.io/Thoth.Json/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Re-think number representation if needed

MangelMaxime opened this issue · comments

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?

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.

Fixed in version 7.0.0