# save_json

> **Function** in `langchain_community`

📖 [View in docs](https://reference.langchain.com/python/langchain-community/callbacks/sagemaker_callback/save_json)

Save dict to local file path.

## Signature

```python
save_json(
    data: dict,
    file_path: str,
) -> None
```

## Parameters

| Name | Type | Required | Description |
|------|------|----------|-------------|
| `data` | `dict` | Yes | The dictionary to be saved. |
| `file_path` | `str` | Yes | Local file path. |

---

[View source on GitHub](https://github.com/langchain-ai/langchain-community/blob/a6a6079511ac8a5c1293337f88096b8641562e77/libs/community/langchain_community/callbacks/sagemaker_callback.py#L17)