Search results

27 packages found

Useful functions when working with JSON.

published 3.21.0 a year ago
M
Q
P

Serialize a JavaScript error to a regular, json stringifiable object, and deserialize an object into an error.

published 1.0.0 a year ago
M
Q
P

JSON.parse but returns Map instead of Object

published 1.2.0 6 years ago
M
Q
P

Turn a Javascript primitive into its "flat" representation. Aims to be equivalent to `JSON.parse(JSON.stringify(obj))`.

published 3.0.0 4 years ago
M
Q
P

JSON.stringify but handles Map

published 2.0.0 6 years ago
M
Q
P

Super simple and non-recursive JSON parse/stringify library

published 1.0.1 10 years ago
M
Q
P

JSON reviver, allowing named functions and their parameters to be replaced by their output values

published 0.2.0 2 years ago
M
Q
P

Rewrites object and array literals with JSON.parse calls.

published 1.0.2 4 years ago
M
Q
P

serialize and de-serialize any JavaScript data

published 1.2.3 2 years ago
M
Q
P

Super simple and non-recursive merge sort

published 1.0.4 10 years ago
M
Q
P

try to parse json or return undefined

published 1.0.0 8 years ago
M
Q
P

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).

published 1.0.0 7 years ago
M
Q
P

Wrapper to use JSON.parse and JSON.stringify methods, based on serializers

published 1.0.2 6 months ago
M
Q
P

Parse a string as JSON.

published 0.2.1 2 months ago
M
Q
P

Parse JSON without SyntaxError

published 2.3.1 5 years ago
M
Q
P

Super simple and non-recursive JSON parse/stringify library

published 1.0.3 8 years ago
M
Q
P

Transform environment variables into JSON object with sanitized values.

published 2.0.0 4 years ago
M
Q
P

Use some simple conventions to read process.env into a deeply nested javascript object recognizing arrays and numbers.

published 0.0.1 4 years ago
M
Q
P

A rollup plugin that wraps compatible objects with JSON.parse() to improve performance.

published 1.1.5 4 years ago
M
Q
P

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`.

published 1.0.3 8 years ago
M
Q
P