News for hackers. Stuff that matters.
Re:Ask HN: Do you use JSON Schema? Help us shape its future ... by awwright on Tuesday January 31, 2023 @10:36PM (#34606018)
This is wrong. All numbers in JSON are arbitrary-precision base-10 decimal numbers.
Re:Ask HN: Do you use JSON Schema? Help us shape its future ... by throwawaymaths on Tuesday January 31, 2023 @11:01PM (#34606183)
No they aren't. The JSON spec says implementation is up to the engine and de facto JSON numbers are parsed as ieee754 on just about every platform I can think of.