Superjson is a data notation created in 2014 by Matthew Mueller.
#797on PLDB | 10Years Old |
git clone https://github.com/blitz-js/superjson
A superset of JSON adding: undefined bigint Date RegExp Set Map Error
const object = {
normal: 'string',
timestamp: new Date(),
test: /superjson/,
};
const { json, meta } = serialize(object);