SerializationService¶
Serializes and deserializes instances to and from the .rbxm
format.
Not implemented yet
This class exists in the current Roblox API but is not implemented in Nova yet. Scripts that reference it will fail at runtime.
Description¶
SerializationService converts instances to and from
the binary .rbxm model format. Call
SerializeInstancesAsync()
to serialize a list of instances into a buffer of .rbxm content,
and
DeserializeInstancesAsync()
to reconstruct instances from such a buffer.
Usable only from Studio plugins or Open Cloud Luau Execution Sessions. Attempting to serialize or deserialize non-creatable instances or services throws an error.
No stability contract is offered for the .rbxm format; its composition may
change at any time. Content serialized by the engine can always be
deserialized by the engine, but parsing engine-generated .rbxm with
third-party tools, or deserializing .rbxm generated by other means, is at
the user's own risk.
Inheritance¶
Object โ Instance โ SerializationService
Methods¶
| Member | Signature | Summary |
|---|---|---|
DeserializeInstancesAsync |
SerializationService:DeserializeInstancesAsync(buffer: buffer): Instances |
Deserializes a buffer containing .rbxm content, returning a list of instances. |
SerializeInstancesAsync |
SerializationService:SerializeInstancesAsync(inputInstances: Instances): buffer |
Serializes a list of instances to the .rbxm format, returning a buffer or .rbxm content. |
Roblox reference: SerializationService
Generated from Nova's API dump and Roblox creator-docs. Nova-only members come from the engine's reflection metadata.