Loading

JSONLOOSE

platform

In 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.

JSONLOOSE is available since version 1.0.0.

See also

Signatures

Examples

JSONLOOSE NaN 5 'abcd'