JSONLOOSE
platformIn strict JSON format the NaN
and Infinite
values aren’t allowed and they are replaced by null
.
The JSONLOOSE
function configures the stack to send results in a loose JSON format where NaN
and Infinite
are valid values.
If the JSON parser you’re using is strict, you should either configurate the JSONSTRICT
mode or dealing with
NaN
and Infinite
values outside the parser.