I got your point that Sling Model Exporter is just 1-1 based on a given component. but If I want to export the JSON for multiple components specially the Business Logic, So Can you suggest me an API which converts the Sling Node to JSON output.I mean to say if I can use that API to manually generate...
If I will make a Sling Model of Page Component, then it will only export the JSON of that page properties only. It will not work for the components lying under it.
So, is there any possible solution for that? or I need to write a Custom Sling Servlet only? I js wanted to know if there's any solution, otherwise the last possible solution is only to write a Custom Sling Servlet!!
This is JCR Node Structure and via /content/my-page.infinity.jsonI am getting a JSON basis of this Node Structure. JSON Structure on Node Basis!While on the other hand, a Sling Model Exporter JSON like..Just like this.. I want to Export the JSON for multiple components made using Sling Model @Export...
It will return only the JSON which is stored under the node /content/my-resource/jcr:content/... But my question is how to Export the JSON of Multiple Components on a particular page that to be of a JAVA Based Logic, not the simple data which you put inside the Dialog.
I am not able export JSON of multiple components in a page using Sling Model Exporter.If I am using http://localhost:4502/content/test.model.json, then I am getting the simple json of the Page.If I am using http://localhost:4502/content/test.infinity.json then I am getting the Deep level JSON for al...