Serializing #Lua tables: https://www.lua.org/pil/12.1.1.html This feels weird to me. Maybe because Lua is generally embedded inside of a game, where the script need not concern itself about saving its data to a file.