Search results
27 packages found
Useful functions when working with JSON.
Yet another try/catch for JSON#parse. This one returns your custom error token value in case of a SyntaxError (default: undefined), and passes all other errors to your custom error handler (default: re-throw).
Parse a string as JSON.
Wrapper to use JSON.parse and JSON.stringify methods, based on serializers
Super simple and non-recursive JSON parse/stringify library
Transform environment variables into JSON object with sanitized values.
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`.
- JSON
- JSON.parse
- catch
- curried
- functional
- higher-order
- json
- json-parse
- parse
- parse json
- parser
- point-free
- pointfree
- safe
- View more
Turn a Javascript primitive into its "flat" representation. Aims to be equivalent to `JSON.parse(JSON.stringify(obj))`.
serialize and de-serialize any JavaScript data
A rollup plugin that wraps compatible objects with JSON.parse() to improve performance.
Rewrites object and array literals with JSON.parse calls.
Super simple and non-recursive JSON parse/stringify library
Super simple and non-recursive merge sort
json-operations allows you to work with JSON, parse in a standardized way, get tokenize JSON, etc...
Serialize a JavaScript error to a regular, json stringifiable object, and deserialize an object into an error.
JSON.parse but returns Map instead of Object
try to parse json or return undefined
Like JSON.parse, but doesn't throw on invalid JSON.