private String[] listTickets(String url, String json) throws Exception {
		 
		//The url to the JSON listener
		URL http = new URL(url);
		//Make the connection to the listener
		HttpURLConnection con = (HttpURLConnection) http.openConnection();
 
		//add reuqest headers
		con.setRequestMethod("POST");
		con.setRequestProperty("User-Agent", "Mozilla/5.0");
		con.setRequestProperty("Content-Type", "application/json");
		con.setRequestProperty("Accept", "application/json");
		con.setRequestProperty("Accept-Language", "en-US,en;q=0.5");
 
		// Send post request
		//Do some fancy shizzle
		con.setDoOutput(true);
		OutputStreamWriter data= new OutputStreamWriter(con.getOutputStream());
		//Send the JSON request
		data.write(json);
		data.flush();
		//Get the JSON response
		BufferedReader in = new BufferedReader(
		        new InputStreamReader(con.getInputStream()));
		String inputLine;
		StringBuffer response = new StringBuffer();
		//Put the response in a string (not in the underpants)
		while ((inputLine = in.readLine()) != null) {
			response.append(inputLine);
		}
		in.close();
 
		//Parse to JSON
		JSONParser parser=new JSONParser();
		  //Make it a string
	      String s = response.toString();
	      //Just give it a shot
	      try{
	    	 //Create JSON object
	         Object obj = parser.parse(s);
	         //Get the ticket variable from the full JSON object
	         JSONObject tickets = (JSONObject)obj;
	         //Make from the value of tickets an array (because we can and it simply is)
	         JSONArray array = (JSONArray)tickets.get("tickets");
	         //Create an array from every ticketNumber in the array (with maximum as amount if tickets)
	         String[] ticketNumbers = new String[(int) array.size()];
	         //Let loop it
	         for(int i = 0; i < (int) array.size(); i++)
	         	{
	        	 //Get the ticket number from each ticket
	        	 JSONObject ticketNumber = (JSONObject)array.get(i);
	        	 //Make from the number a string and put in our newly created array
	        	 ticketNumbers[i] = (String) ticketNumber.get("ticketNumber");
	        	 //Not at the end? Lets do it again!
	         	}
	         //Now the purpose of this function Return all the ticket number in a singel array
	         return ticketNumbers;
	         //If you found le wild Charizard catch it.
	      }catch(ParseException pe){
	         System.out.println("position: " + pe.getPosition());
	         System.out.println(pe);
	         /*
	          	I wanna be the very best,
				Like no one ever was.
				To catch them is my real test,
				To train them is my cause.
	          */
	      }
	      //If error return it
	     String[] returnArray = {"ERROR", "BOEHOEHOE"};
		return returnArray;
	      
 
	}