@witzbould/utils-json-parse

3.0.0 • Public • Published

JsonParse

Wrapper around Json.parse() to catch any errors and return a Promise.
The synchronous version returns an Object with data and error properties.
If the parsing failed the error is set and undefined otherwise.

Package Sidebar

Install

npm i @witzbould/utils-json-parse

Weekly Downloads

0

Version

3.0.0

License

ISC

Unpacked Size

2.49 kB

Total Files

4

Last publish

Collaborators

  • witzbould