Module dump

A simple serialization function which won't do uservalues, functions, or loops.

If you need a more full-featured variant, serpent is available in ffi/serpent ;).

Functions

dump (data, max_lv) Serializes whatever is in data to a string that is parseable by Lua.


Functions

dump (data, max_lv)
Serializes whatever is in data to a string that is parseable by Lua.

You can optionally specify a maximum recursion depth in max_lv.

Parameters:

  • data the object you want serialized (table, string, number, boolean, nil)
  • max_lv optional maximum recursion depth
generated by LDoc 1.5.0 Last updated 2024-03-18 16:45:36