json2builtvalue icon indicating copy to clipboard operation
json2builtvalue copied to clipboard

Doubles parsed as ints

Open j14y opened this issue 5 years ago • 0 comments

The generator incorrectly parses double values as int when the fractional part of double consists solely zeros.

For example, 1.0 or 1.00 both resolve to int wheres 1.1 or 1.01 would resolve to double. The latter case should always hold for either scenario.

j14y avatar May 17 '20 16:05 j14y