I have this use case where in I would need to dynamically create java objects out of json input and insert the data into sql tables.
I tried using gson APIs but unfortunately we need to specify strucuture of that class (Car.class). Is it possible to dynamically achieve the above use without having to specify the structure of the class(Car.class)
Gson gson = new Gson();
Car car = gson.fromJson(json, Car.class);
Thanks in advance