mirror of
https://github.com/luanti-org/luanti.git
synced 2025-11-06 18:25:21 +01:00
Fix some indentation
This commit is contained in:
@@ -561,8 +561,8 @@ Call these functions only at load time!
|
||||
* Example: `write_json({10, {a = false}})`, returns `"[10, {\"a\": false}]"`
|
||||
> [!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 cannot mix string and integer keys. This is due to the fact that JSON has
|
||||
> 1. You can only use strings and positive integers of at least one as keys.
|
||||
> 2. You cannot mix string and integer keys. This is due to the fact that JSON has
|
||||
> two distinct array and object values.
|
||||
* `minetest.serialize(table)`: returns a string
|
||||
* Convert a table containing tables, strings, numbers, booleans and `nil`s
|
||||
|
||||
Reference in New Issue
Block a user