> ## 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

<ParamField path="value" type="unknown" required={true}>
  The value to serialize.
</ParamField>

<ParamField path="maxLen" type="number" required={true}>
  Maximum allowed length (defaults to
  MAX\_CONTENT\_LENGTH).
</ParamField>

<ResponseField name="return">
  A JSON string (possibly truncated), or empty string.
</ResponseField>
