std: Catch and handle overflow in json parser

When a floating-point value with no fractional part is shoved into an
integer type we must check whether it fits or not before calling
`@floatToInt` as the builtin panics in case of overflow.

Catch the error and bubble it up to the caller.
1fc877fd94LemonBoy committed on 7/1/2021, 7:35:19 PM· committed by Veikka Tuominenparent628f490
1 file changedLine totals unavailable