numberValue

open override fun numberValue(number: JsonElement): JsonNumber

The number in its cheapest exact form: a long, a double that has exactly the value of the text, or the text itself. The first two compare without a conversion.