Expand my Community achievements bar.

SOLVED

org.apache.sling.commons.json.JSONObject deprecated API in AEM 6.3

Avatar

Level 6
1 Accepted Solution

Avatar

Correct answer by
Level 5

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

View solution in original post

1 Reply

Avatar

Correct answer by
Level 5

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