Skip to content

decode_invalid_numbers

json.decode_invalid_numbers(setting)

json.parse() may generate an error when trying to decode numbers not supported by the JSON specification. Invalid numbers are defined as: infinity, not-a-number (NaN) and hexadecimal.