This page is a work in progress and could be pending updates.
Serialization in Photon
Photon and its clients are using a highly optimized binary protocol to communicate. It's compact, yet easy to parse.
Photon must convert all data into this binary protocol before it can be sent. This is done automatically for a range of commonly used data types. On most client APIs, you can also register your custom serialization methods for other classes you might need. See below.