1.0.0-beta.6 (2025-03-10)
Breaking Changes
JsonNumberpreviously would usefloatwhen the floating point number was small enough to fit infloatbut it
now aligns behavior withJsonReader.readUntyped()wheredoublewill be the smallest floating point type used.
This aligns with floating point number behavior in Java wheredoubleis the default if no type is specified.- Support for special numeric
INF,-INF, and+INFvalues have been removed to align with behaviors ofFloat
andDoublein Java where only theInfinityvariants are supported.
Bugs Fixed
JsonReader.readUntyped()had incomplete support for untyped numerics. Numerics too large fordoubleandlongare
now supported and a bug where exponents were not being parsed correctly is fixed.