mirror of
https://github.com/TangentFoxy/lume.git
synced 2024-11-19 07:04:24 +00:00
Updated README for lume.serialize changes
This commit is contained in:
parent
258e523219
commit
1559803c70
@ -329,7 +329,7 @@ f(10, 5) -- Returns 25
|
|||||||
### lume.serialize(x)
|
### lume.serialize(x)
|
||||||
Serializes the argument `x` into a string which can be loaded again using
|
Serializes the argument `x` into a string which can be loaded again using
|
||||||
`lume.deserialize()`. Only booleans, numbers, tables and strings can be
|
`lume.deserialize()`. Only booleans, numbers, tables and strings can be
|
||||||
serialized. Circular references are not handled; all nested tables are
|
serialized. Circular references will result in an error; all nested tables are
|
||||||
serialized as unique tables.
|
serialized as unique tables.
|
||||||
```lua
|
```lua
|
||||||
lume.serialize({a = "test", b = {1, 2, 3}, false})
|
lume.serialize({a = "test", b = {1, 2, 3}, false})
|
||||||
|
Loading…
Reference in New Issue
Block a user