> ## Documentation Index
> Fetch the complete documentation index at: https://docs.fiddler.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# safeStringify

> safeStringify

**value** `unknown` *required*

The value to serialize.

**maxLen** `number`

Maximum allowed length (defaults to
MAX\_CONTENT\_LENGTH).

**return**

A JSON string (possibly truncated), or empty string.
