Expand my Community achievements bar.

Adobe Summit 2025: AEM Session Recordings Are Live! Missed a session or want to revisit your favorites? Watch the latest recordings now.

Mark Solution

This conversation has been locked due to inactivity. Please create a new post.

Accessing JSON Object key/value pair in Sightly (HTL)

Avatar

Level 3

Is there any way in AEM 6.1 to access the key/value of JSON Object returned from Java class in Sightly (HTL)?

I believe one indirect way would be to convert the JSON to Collection (Map) in java and use the map in Sightly to access the key/value. But is there any way available to do this without conversion ?

2 Replies

Avatar

Level 9

Avatar

Level 3

Hi Hemant. Thanks for replying.

I had seen the 1st link previously as well. But not sure if data-json is supported in 6.1

2nd link is very generic HTL usage related and does not provide solution to my original question