Module dump
Function for outputting the contents of a table.
Functions
dump (o[, maxDepth]) | Serializes the given table to a lua-readable form. |
Functions
- dump (o[, maxDepth])
-
Serializes the given table to a lua-readable form.
Remarks:
-
It is preferable that the graph of the tables that are to be serialized should not contain cycles. If it does, dump might end up producing duplicite output.
Parameters:
- o tab The table that is to be serialized.
- maxDepth int The maximal depth into which to serialize the table. (optional)