@witzbould/utils-json-parse
v3.0.1
Published
Wrapper around Json.parse() returns a Promise or data-error object
Downloads
3
Maintainers
Readme
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.