A standard compliant JSON parser for JavaScript.
const data = parseJSON(input);
Allows to represent numbers in a custom type, for example to avoid precision loss.
const data = parseJSON(input, {
handleNumber: (value) => new BigNumber(value)
})
A standard compliant JSON parser for JavaScript that supports custom handling of numbers
A standard compliant JSON parser for JavaScript.
const data = parseJSON(input);
Allows to represent numbers in a custom type, for example to avoid precision loss.
const data = parseJSON(input, {
handleNumber: (value) => new BigNumber(value)
})
A standard compliant JSON parser for JavaScript that supports custom handling of numbers
MIT License