Docs: Compare JSON module against MT's JSON

This commit is contained in:
Lars Mueller 2022-09-09 14:47:41 +02:00
parent b2bbabe3e0
commit f875b2079d

9
doc/json.md Normal file

@ -0,0 +1,9 @@
# JSON
Advantages over `minetest.write_json`/`minetest.parse_json`:
* Twice as fast in most benchmarks (for pre-5.6 at least)
* Uses streams instead of strings
* Customizable
* Useful error messages
* Pure Lua