Gson gson = new Gson(); List<Product> products = gson.fromJson(jsonString, new TypeToken<List<Product>>(){}.getType());