---
schema_version: "1"
id: cc39bfaf18524c8de9adf6349fdd4dd1618f724756e0c20355b3cb5d017526a1
title: Render a JSON View of a Page Designer Page
collection: admin
version: current
locale: en-us
portal_url: https://docs.salesforce.com/admin/current/en-us/commerce/264-0-0/rn_pd_json_view_b2c_21_4_w8906864_la.md
canonical_url: https://help.salesforce.com/s/articleView?id=commerce.rn_pd_json_view_b2c_21_4_w8906864_la.htm&release=264.0.0&type=5
source_site: help.salesforce.com
content_type: documentation
content_hash: c02eb0bb502c2ecfd2ec31c8f503bace92433f8f82195dc9e0d6f417dfa5d58d
description: 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.
products:
  - Commerce
  - B2C Commerce
release: "264"
---
# Render a JSON View of a Page Designer Page

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](https://developer.salesforce.com/docs/commerce/b2c-commerce/guide/b2c-dev-for-page-designer.html)

#### See Also

- [Class PageMgr](https://documentation.b2c.commercecloud.salesforce.com/DOC3/topic/com.demandware.dochelp/DWAPI/scriptapi/html/api/class_dw_experience_PageMgr.html)