In AEM 6.1, we are sending Json data to the UI via JSON library, now we are migrating to AEM 6.5, i have tried with Gson library but for that, i ll have to create lots of pojo classes, which is not feasible for my code base.
Any feasible solution to replace JSONObject and JSONArray.
P.S. I have like 20 servlets and all are creating JSON structures using above.
Solved! Go to Solution.