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

# Export Json • AI Agents Framework

> export_json: API reference for ProfilerCompat.export_json

# export\_json

<div className="flex items-center gap-2">
  <Badge color="purple">Method</Badge>
</div>

> This is a method of the [**ProfilerCompat**](../classes/ProfilerCompat) class in the [**profiler**](../modules/profiler) module.

## Signature

```python theme={"theme":{"light":"vitesse-light","dark":"vitesse-dark"}}
def export_json() -> str
```

### Returns

<ResponseField name="Returns" type="str">
  The result of the operation.
</ResponseField>

## Uses

* `export_json`
* `get_profiler`

## Used By

* [`ProfilerCompat.export_json`](../functions/ProfilerCompat-export_json)

## Source

<Card title="View on GitHub" icon="github" href="https://github.com/MervinPraison/PraisonAI/blob/main/src/praisonai/praisonai/profiler.py#L957">
  `praisonai/profiler.py` at line 957
</Card>
