Languages Features Creators Calendar CSV Resources Blog About Pricing Add Language
GitHub icon

Superjson

Superjson - Data notation

< >

Superjson is a data notation created in 2014 by Matthew Mueller.

#932on PLDB 9Years Old 1.6kUsers
0Books 0Papers

A superset of JSON adding: undefined bigint Date RegExp Set Map Error


Example from the web:
const object = { normal: 'string', timestamp: new Date(), test: /superjson/, }; const { json, meta } = serialize(object);

Language features

Feature Supported Token Example
Lists
[1, 2, 3]
Maps
{"name": "Mary"}
Strings
"hello world"
Integers
80766866
Floats
2.3
Booleans
false
Case Insensitive Identifiers X
Semantic Indentation X
Multiline Strings X
File Imports X
MultiLine Comments X
Ternary operators X
Conditionals X
Line Comments X
Macros X
Comments X
Disk Output X
flow9.html · superjson.html · jolie.html

View source

- Build the next great programming language · Search · v2023 · Day 208 · Docs · Acknowledgements · Traffic · Traffic Today · Mirrors · GitHub · feedback@pldb.com