Serialization
Last updated
Last updated
Serialization is straightforward: we serialize each parameter to JSON, send it, and then deserialize it on the receiving end. For more information on this process, check out the .
Since Messenger uses json serialization, custom class references are supported as well!
Messenger.ToServer(MyMessage, MyCustomClass);
If you want to see how Messenger utilizes JSON serialization, take a look at the Messenger.Serialization.cs
class.
There are also examples in the samples folder itself, please go to the for more explanation.