# stableStringify (@salmonui/core/data)

> The stableStringify function of @salmonui/core/data: Deterministic JSON: object keys sorted, undefined and functions dropped, array order preserved. Used for query cache keys and serialization.

Canonical: https://salmonui.dev/docs/reference/core/data/stableStringify

```ts
import { stableStringify } from '@salmonui/core/data';
```

Entry index: https://salmonui.dev/docs/reference/core/data (Markdown with every symbol of the entry: https://salmonui.dev/docs/reference/core/data.md).

## Reference

Kind: function

```ts
function stableStringify(value: unknown): string;
```

Deterministic JSON: object keys sorted, `undefined` and functions dropped,
array order preserved. Used for query cache keys and serialization.
