---
schema_version: "1"
id: a417569fcbe097d37cf49162216e6ce00119a535f16d2c7f5ecbf1c913e34f65
title: Stringify
collection: developer
version: current
locale: en-us
portal_url: https://docs.salesforce.com/developer/current/en-us/marketing-cloud/guides/mc-programmatic-content/ssjs_platformUtilityStringify.md
canonical_url: https://developer.salesforce.com/docs/marketing/marketing-cloud/guide/ssjs_platformUtilityStringify.html
source_site: developer.salesforce.com
content_type: documentation
content_hash: 08b90d0298998daa09454d7fd18fc494df8e8111d5cdfab51f604a0f291204e4
products:
  - Marketing Cloud Engagement APIs and Programmatic Languages
  - Marketing Cloud
---
# Stringify

## Overview

Converts a passed JavaScript object into a JSON string value. This function works only with known JSON objects and types, such as string and integer values.

### Syntax

Stringify(1)

### Function Properties

<!--complex table-->

| Ordinal | Type   |              | Description                                    |
| ------- | ------ | ------------ | ---------------------------------------------- |
| **1**   | object | **Required** | JavaScript object to convert to a string value |

## Example

```
<script runat="server">
     Platform.Function.Stringify(object);
</script>
```
