moonblob
moonblob copied to clipboard
Binary serialization for moonscript + LuaJIT
Could be useful to enable a global 'debug' mode where methods like `:string` and `:number` etc. add type metadata in the serialized form, so that the deserializer would error if...
When serializing tables, split them into a dictionary part and an index part. The index is a sequential table that holds all unique keys and values. The dictionary resembles the...
When serializing tables, the types of each key and value are automatically detected. This works well for default Lua types, but not so well for class and cdata objects. By...
Allow classes to override the default serialization behavior through implementing __serialize and __deserialize metamethods. If present, those functions should completely replace the normal table (de)serializer.