From 1ecf51a13f434f5cbc0f6ccc1b9a2ac6402a895f Mon Sep 17 00:00:00 2001 From: Kahrl Date: Mon, 2 Sep 2013 02:01:49 +0200 Subject: Add minetest.parse_json, engine.parse_json --- doc/menu_lua_api.txt | 2 ++ 1 file changed, 2 insertions(+) (limited to 'doc/menu_lua_api.txt') diff --git a/doc/menu_lua_api.txt b/doc/menu_lua_api.txt index 014e689dc..d4bc093b0 100644 --- a/doc/menu_lua_api.txt +++ b/doc/menu_lua_api.txt @@ -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) -- cgit v1.2.3