lua.wire.serialize
luastr = wire.serialize(tab)
luastr = wire.serialize(tab,{ indent="\t" , newline="\n" , errors=true })
Turn a table into a valid lua string that will recreate the table.
Optionally pass in an opts table that we will use during serialization so must be unique.
Possible options are.
indent=" "
Indention per level. set to "" for compact output.
newline="\n"
Line ending, set to "" for overly compact output.
errors=nil
Set this to true and we will raise errors rather than simply adding comments to the output. EG unknown types or recursion.