4 ms·
Use Lua tables. Lua's parser is smaller than many JSON parsers, the syntax is almost the same and you can use comments.
by krapp 1y ago
Use Lua tables. Lua's parser is smaller than many JSON parsers, the syntax is almost the same and you can use comments.
- Bolwin 1y agoOn the web? In wasm? I'd much rather use a new format. MAML's parser is 2kb of js gzipped according to the repo and very fast.
- krapp 1y agoIf that matters, the just bite the bullet and use JSON, which is supported in every browser in existence and has a parser library in every language worth using.