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

# Parse Json • Rust AI Agent SDK

> parse_json: Try to parse raw output as JSON

# parse\_json

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

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

Try to parse raw output as JSON

## Signature

```python theme={"theme":{"light":"vitesse-light","dark":"vitesse-dark"}}
def parse_json(&self) -> Result<serde_json::Value>
```

### Returns

<ResponseField name="Returns" type="Result<serde_json::Value>">
  The result of the operation.
</ResponseField>
