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.
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.
npm i @witzbould/utils-json-parse
0
3.0.0
ISC
2.49 kB
4