JInput::serialize

Method to serialize the input.