Agoda interview question

Explain How does serialisation work.