Search results
27 packages found
Useful functions when working with JSON.
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
Turn a Javascript primitive into its "flat" representation. Aims to be equivalent to `JSON.parse(JSON.stringify(obj))`.
Super simple and non-recursive JSON parse/stringify library
serialize and de-serialize any JavaScript data
Super simple and non-recursive merge sort
Rewrites object and array literals with JSON.parse calls.
try to parse json or return undefined
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
JSON reviver, allowing named functions and their parameters to be replaced by their output values
Super simple and non-recursive JSON parse/stringify library
Use some simple conventions to read process.env into a deeply nested javascript object recognizing arrays and numbers.
Transform environment variables into JSON object with sanitized values.
A rollup plugin that wraps compatible objects with JSON.parse() to improve performance.
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