1
0
Fork 0
mirror of https://github.com/luanti-org/luanti.git synced 2025-08-21 18:11:11 +00:00

Add minetest.parse_json, engine.parse_json

This commit is contained in:
Kahrl 2013-09-02 02:01:49 +02:00
parent 71a6ffa762
commit 1ecf51a13f
6 changed files with 141 additions and 0 deletions

View file

@ -174,6 +174,8 @@ engine.gettext(string) -> string
fgettext(string, ...) -> string
^ call engine.gettext(string), replace "$1"..."$9" with the given
^ extra arguments, call engine.formspec_escape and return the result
engine.parse_json(string[, nullvalue]) -> something
^ see minetest.parse_json (lua_api.txt)
dump(obj, dumped={})
^ Return object serialized as a string
string:split(separator)