summaryrefslogtreecommitdiff
path: root/doc/client_lua_api.md
diff options
context:
space:
mode:
Diffstat (limited to 'doc/client_lua_api.md')
-rw-r--r--doc/client_lua_api.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/client_lua_api.md b/doc/client_lua_api.md
index d68f90dec..bee53636c 100644
--- a/doc/client_lua_api.md
+++ b/doc/client_lua_api.md
@@ -712,7 +712,7 @@ Call these functions only at load time!
* `minetest.write_json(data[, styled])`: returns a string or `nil` and an error message
* Convert a Lua table into a JSON string
* styled: Outputs in a human-readable format if this is set, defaults to false
- * Unserializable things like functions and userdata are saved as null.
+ * Unserializable things like functions and userdata will cause an error.
* **Warning**: JSON is more strict than the Lua table format.
1. You can only use strings and positive integers of at least one as keys.
2. You can not mix string and integer keys.