Superjson is a data notation created in 2014 by Matthew Mueller.
#794on PLDB | 10Years Old |
git clone https://github.com/blitz-js/superjson
Safely serialize JavaScript expressions to a superset of JSON, which includes Dates, BigInts, and more.
const object = {
normal: 'string',
timestamp: new Date(),
test: /superjson/,
};
const { json, meta } = serialize(object);