Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
Bedrock Mission!

Learn more

View all

Sign in to view all badges

Content as a service vs Sling Model Exporters vs others for exposing JSON from AEM


Level 4

Hi All,

There can be many ways to expose content from AEM as JSON

  1. Manipulate/filter infinity.json to provide required JSON
  2. Write a custom servlet, which reads JCR and exposes required JSON
  3. Content as a service - new feature being provided in AEM 6.3. There doesn't seems to b much official (Develop/Administer/Author) documentation on this. Is there a role of Content Fragments and Experience Fragments (not sure of difference between 2 yet)
  4. Sling Model Exporters - Provided by Sling.
  5. Any other?

Has anyone evaluated different options? What is the difference between CaaS and Sling Model Exporters? If there are some reference links which help us understand and evaluate different options please share experiences.



2 Replies


Level 10

There is quite a bit of information on Sling Models in that link.

If you want complete control over which nodes are exposed - you can write a custom service using JCR API and then convert the result set to JSON. This would be manual coding.


Level 4

Seems like the Caas feature is overridden by Sling Model Exporter. Below is the quote from reference link

Adobe is probably trying to reuse feature provided by Sling instead of reinventing the wheel, also focusing on providing headless capabilities to cater to different channels/type of apps. I guess the future would be headless capabilities to support SPA etc.