# JsonSpec

> **Class** in `langchain_community`

📖 [View in docs](https://reference.langchain.com/python/langchain-community/tools/json/tool/JsonSpec)

Base class for JSON spec.

## Signature

```python
JsonSpec()
```

## Extends

- `BaseModel`

## Properties

- `dict_`
- `max_value_length`

## Methods

- [`from_file()`](https://reference.langchain.com/python/langchain-community/tools/json/tool/JsonSpec/from_file)
- [`keys()`](https://reference.langchain.com/python/langchain-community/tools/json/tool/JsonSpec/keys)
- [`value()`](https://reference.langchain.com/python/langchain-community/tools/json/tool/JsonSpec/value)

---

[View source on GitHub](https://github.com/langchain-ai/langchain-community/blob/a6a6079511ac8a5c1293337f88096b8641562e77/libs/community/langchain_community/tools/json/tool.py#L29)