You can expose the data assembled by a Page Designer page and its components in JSON format. A JSON version of a page is easier to expose to external services for native mobile apps or custom heads.
How: Use the serializePage method of the dw.experience.PageMgr API to render the page in JSON. The
method to expose JSON has these signatures:
String : serializePage(String pageID, String parameters)
String : serializePage(String pageID, Map<String,Object> aspectAttributes, String parameters)
For more information and an example, see Render a JSON View of a Page Designer Page