generated from your-land/yl_template
50 lines
1.3 KiB
Markdown
50 lines
1.3 KiB
Markdown
|
|
# json_lua
|
|
|
|
## Purpose
|
|
|
|
This mod is is a wrapper for json.lua, since it is faster and more independent from the MT functions minetest.parse_json and minetest.write_json
|
|
|
|
## Download
|
|
|
|
Get the mod from https://gitea.your-land.de/your-land/json_lua
|
|
|
|
Source json.lua : https://github.com/aryajur/json.lua.git
|
|
|
|
This appears to be a maintained version, in contrast to many others. Original is here:
|
|
|
|
https://github.com/rxi/json.lua.git
|
|
|
|
## Installation
|
|
|
|
Being a template, you shouldn't install the mod itself. Your mod could look like this:
|
|
|
|
## Usage
|
|
|
|
This is a library.
|
|
|
|
Use json_lua.json.encode instead of minetest.parse_json and json_lua.json.decode instead of minetest.write_json
|
|
|
|
See [README](json.lua/README.md)
|
|
|
|
## Supported versions
|
|
|
|
All: There is no reason to assume this library would not run with next to any MT version
|
|
|
|
If you run json_lua, but something is wrong, please [file a bug](https://gitea.your-land.de/your-land/json_lua/issues/new). PRs also welcome.
|
|
|
|
## Uninstall
|
|
|
|
Remove it from your mod folder or deactivate it in your world.mt
|
|
|
|
Mods that depend on it will cease to work, if the mod is removed without proper replacement.
|
|
|
|
## License
|
|
|
|
Original license: MIT
|
|
Mod license: MIT
|
|
|
|
## Thank you
|
|
|
|
* [rxi](https://github.com/rxi)
|
|
* [aryajur](https://github.com/aryajur) |