You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
There is currently a subtle bug in Thoth.Json (since for ever probably), where number with decimal set to 0 like 10.0 or 2120.0 are considered integral value.
There is currently a subtle bug in Thoth.Json (since for ever probably), where number with decimal set to
0
like10.0
or2120.0
are considered integral value.This is because in JavaScript the test we use is:
Case marked with ❌ are incorrect because they return
true
instead offalse
.This means that 10.0 is consider a valid number for int16, etc.
This bug is not present in Thoth.Json.Newtonsoft, neither in Thoth.Json.Python.
The text was updated successfully, but these errors were encountered: