# stringify

`import { stringify } from "destack:json";`

Serialize a JSON value.

```ds title="stringify"
export function stringify(value: Json, replacer?: JsonReplacer | readonly string[] | undefined, space?: string | int32 | undefined): Result<^string, JsonError>
```

[language/library/src/json/json.ds:45:51](https://github.com/destack-sh/destack/blob/main/language/library/src/json/json.ds#L45-L51)
