convert stringified array of objects to json object
hi this is more of a java based question but I could use some help here-
i have a stringified (json.stringify) javascript array of strings ["abc","efg","ijk"]
i want to convert it to a json object
JsonObject jsonObject = new Gson().fromJson(arrayOfStrings, JsonObject.class);
com.google.gson.JsonSyntaxException: Expected a com.google.gson.JsonObject but was com.google.gson.JsonArray
i have tried using JsonParser from gson, javax.json.stream but nothing seems to work.

