Service for JCR node properties response in json | Community
Skip to main content
varuns46785756
New Participant
January 12, 2016
Solved

Service for JCR node properties response in json

  • January 12, 2016
  • 11 replies
  • 6993 views

Hi,

I need to write a service to fetch the node properties from page component and get the JSON response .Please guide me or suggest me some reference .

 

 

 

 

thanks

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.

11 replies

edubey
New Participant
January 12, 2016

Hi,

Learn here how you can create service in AEM: https://helpx.adobe.com/experience-manager/using/first-osgi.html

Use method in your service: https://sling.apache.org/apidocs/sling6/org/apache/sling/commons/json/jcr/JsonJcrNode.html#JsonJcrNode(javax.jcr.Node)

Its will convert node properties to JSON data

Thanks