I have just started using clarifai for image analysis but I can't actually convert the output I am getting as a List into Json. The List is not the normal list, I have tried the normal Gson().toJson but not to any effect. My request code is :
final PredictRequest<Concept> predictionResults = client.getDefaultModels().generalModel().predict().withInputs(ClarifaiInput.forImage("image url here"));
List<ClarifaiOutput<Concept>> result = predictionResults.executeSync().get();
result.get(0);
Can anyone suggest something....