Manage json_dumps errated outputs
https://docs.python.org/3/library/json.html#basic-usage
If allow_nan is false (default:
True
), then it will be aValueError
to serialize out of rangefloat
values (nan
,inf
,-inf
) in strict compliance of the JSON specification. If allow_nan is true, their JavaScript equivalents (NaN
,Infinity
,-Infinity
) will be used.
Edited by simevo