Search results

27 packages found

Useful functions when working with JSON.

published 3.21.7 19 days 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.1 3 months ago
M
Q
P

Parse a string as JSON.

published 0.2.2 2 months ago
M
Q
P

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

published 1.0.2 a year 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

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 9 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

serialize and de-serialize any JavaScript data

published 1.2.3 2 years ago
M
Q
P

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

published 1.1.5 5 years ago
M
Q
P

Rewrites object and array literals with JSON.parse calls.

published 1.0.2 5 years ago
M
Q
P

Super simple and non-recursive JSON parse/stringify library

published 1.0.1 10 years ago
M
Q
P

Super simple and non-recursive merge sort

published 1.0.4 10 years ago
M
Q
P

json-operations allows you to work with JSON, parse in a standardized way, get tokenize JSON, etc...

published 0.0.6 2 years 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

JSON.stringify but handles Map

published 2.0.0 6 years ago
M
Q
P

try to parse json or return undefined

published 1.0.0 9 years ago
M
Q
P

Like JSON.parse, but doesn't throw on invalid JSON.

published 1.1.0 6 years ago
M
Q
P

A better 'JSON.parse()'

published 1.1.0 6 years ago
M
Q
P