4 ms·
Because it's relatively easy to make JSON-serialization fast if you know the shape ahead-of-time. It's a solved problem. Here's a pure-JS solution: https://git
by redmorphium 6y ago
Because it's relatively easy to make JSON-serialization fast if you know the shape ahead-of-time. It's a solved problem.
Here's a pure-JS solution: https://github.com/fastify/fast-json-stringify https://github.com/fastify/fast-json-stringify