json-parse

js
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`.
Version 1.0.3 License MIT
Keywords
JSONJSON.parsecatchcurriedfunctionalhigher-orderjsonjson-parseparseparse jsonparserpoint-freepointfreesafetry