You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Serialization/Deserialization of objects in RbxNet is an important use case I want to eventually cover.
This would probably involve a slight overhaul of the remote objects used by Net to accompany the ability for functions to serialize values.
The idea would be to have a member Serialize(), then a static deserialize() on the object. It's possible Net could implicitly convert this before sending and when receiving by checking for objects.
Serialization/Deserialization of objects in RbxNet is an important use case I want to eventually cover.
This would probably involve a slight overhaul of the remote objects used by Net to accompany the ability for functions to serialize values.
The idea would be to have a member
Serialize()
, then a staticdeserialize()
on the object. It's possible Net could implicitly convert this before sending and when receiving by checking for objects.Implicit option
Net.Serialization.AddSerializableClass(MyClass)
which:MyClass
- should have memberSerialize
and staticdeserialize
.Serialized representation would be something akin to
{"ClassName": "MyClass", "Value": SerializedObjectValue}
.This would also probably be something that gets only enabled if there are actually serializable classes added.
Explicit option
Would involve the remote objects themselves. I am currently thinking up the API idea for this.
The text was updated successfully, but these errors were encountered: