Skip to content

table.dump

Note

This is not a json encoder!

Parameters

  • table to dumptable

Returns

  • dumped tablestring

Raise

  • None

Examples

print( table.dump( table.build(("classes are awesome!"):split()) ) )
local my_table = {
    key = 'awesome value',
    key2 = 'classes are awesome',
    key3 = {foo='bar'}
}
print( table.dump(my_table) )