public static void main(String[] args) throws Exception { // URL url = new URL( // "http://www.chefkoch.de/rezepte/1045401209466865/Afrikanische-Erdnuss-Lauch-Suppe.html"); URL url = new URL("http://www.chefkoch.de/rezepte/1151391221393105/Spaetzle.html"); Recipe grab = new ChefkochGrabber2().grab(url); System.out.println(grab.getTitle()); Gson gson = new Gson(); String jSon = gson.toJson(grab.getTitle()); System.out.println(jSon); }