We need to do customization out of box JSON response of an AEM Page.
How to can achieve the above JSON format by using a custom service?
Solved! Go to Solution.
Hey! I think what you're looking for is the Sling Model Exporter. With it, you can define a Sling Model with the properties you want to expose, that is then available by browsing to your-page.model.json.