org.apache.sling.commons.json.JSONObject deprecated API in AEM 6.3 | Community
Skip to main content
This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by zeeshanKhan0786

Yes Sel,

You can find all deprecated class,Interface of org.apache.sling.common.json package in AEM 6.3.

org.apache.sling.commons.json ("The Adobe AEM Quickstart and Web Application.")

IN place of this You can use Gson

Java POJO to JSON using Gson (com.google.gson.Gson) - CoderMagnet - JAVA JCR AEM Sightly Resource

1 reply

zeeshanKhan0786
zeeshanKhan0786Accepted solution
Level 5
July 19, 2017

Yes Sel,

You can find all deprecated class,Interface of org.apache.sling.common.json package in AEM 6.3.

org.apache.sling.commons.json ("The Adobe AEM Quickstart and Web Application.")

IN place of this You can use Gson

Java POJO to JSON using Gson (com.google.gson.Gson) - CoderMagnet - JAVA JCR AEM Sightly Resource