parse_constant, if specified, will be called with one of the strings below: '- Infinity', 'Infinity ', 'nan. ' ... that can be used to yield an exception if encounter JSON Invalid numbeers.
parse_constant, if specified, will be called with one of the following strings: '-Infinity', 'Infinity', 'NaN'. This can be used to raise an exception if invalid JSON numbers are encountered.