[Solved] Could anyone help me to convert the below JSON to java object (List), without a java bean. Am new to JSON


I’m guessing you mean by not writing your own bean for GSON to deserialize to. GSON provides support by having certain JSON types that you can make use of:

Gson gson = new Gson();
final JsonArray jsonElements = gson.fromJson(JSON, JsonArray.class);

0

solved Could anyone help me to convert the below JSON to java object (List), without a java bean. Am new to JSON