Amdocs Interview Question

Describe and provide a pseudo code of how serialization works