forbeslindesay

forbeslindesay/json-literal

Superset of `JSON` adding date, regex, null, undefined and octal literals. Inspired by @substack's [json-literal-parse](https://github.com/substack/json-literal-parse).

JavaScript
0
1
MIT License

json‑literal is a Node.js library that extends JSON with additional literal types—Date, RegExp, null, undefined, octal numbers, and circular references—while also allowing unquoted keys, single‑quoted strings and comments. It provides a safe `parse` (no eval) and a matching `stringify` that produces a more human‑readable representation, useful for developers who need to serialize/deserialize JavaScript objects that contain these richer constructs.

Total donated
Undistributed
Share with your subscribers:

Recipients

How the donated funds are distributed

Support the dependencies of forbeslindesay/json-literal

Account's avatar
ECMAScript parsing infrastructure for multipurpose analysis
Account's avatar
Type assertions aka less-broken typeof.
Account's avatar
simple, flexible, fun test framework
Account's avatar
generate garbage json data

Support the repos that depend on this repository

Top contributors

ForbesLindesay's profile
ForbesLindesay
7 contributions

Recent events

Kivach works on the Obyte network, and therefore you can track all donations.

No events yet