---
category: [Administration & Integrations, Platform and Product Extensions, Platform and Product Extensions/Integration, Administration & Integrations/Custom Integrations & Apps, Platform and Product Extensions/Workday Extend]
keyword: [Extend, PMD Scripting, Scripts]
nav: wcp_docs
parent_url: /wcp_docs/
title: create (attribute1, attributeN)
layout: subsection
---

## <a id="section_m3p_myb_5db"></a>Description

Returns a JSON object with the given attributes. Use `json:create` with the `json:attribute` function.

<b>Note:</b> For PMD Scripting, we recommend that you specify the JSON map using `{}` instead of the `json:create` function.

## <a id="section_cyq_j1m_zsb"></a>Return Type

`Object`

## <a id="section_dz5_pwg_5db"></a>Namespace Function Syntax

```
json:create(attribute1, attributeN)
```

<table><thead><tr><th>Parameter</th><th>Description</th></tr></thead><tbody><tr><td>attribute1, attributeN</td><td>1 or more comma-delimited attributes to convert to JSON. Use <code>json:attribute</code>.</td></tr></tbody></table><br/>

<b>Example</b>

`json:create(json:attribute('key0', 'value0'), json:attribute('key1', 'value1'))`

Returns `{"key0": "value0", "key1": "value1"}`

