UNPKG

json-parse

Version:

Curried function that calls `JSON.parse` on provided input returning either the parsed JSON or the specified default value if the data fails to parse as valid JSON instead of throwing a `SyntaxError`.

7 files
12 B
68 B
370 B
782 B
1.1 kB
1.83 kB
2.22 kB