GsonDataFormat.isPrettyPrint() insteadGsonDataFormat.isSerializeNulls() insteadGson and with a custom unmarshal typeGson and with a custom unmarshal generic typeGsonDataFormat.setPrettyPrint(boolean) insteadGsonDataFormat.setSerializeNulls(boolean) insteadApache Camel