The process of collecting together data from some data structure and converting it into a form that is capable of being sent over a network. For example, objects produced by a program written in an object-oriented programming language such as Java need to be marshalled before they are sent to another computer.