# json_value

> **Function** in `deepagents_code`

📖 [View in docs](https://reference.langchain.com/python/deepagents-code/plugins/_json/json_value)

Normalize a decoded value to the supported JSON type.

## Signature

```python
json_value(
    value: object,
) -> JsonValue | None
```

## Returns

`JsonValue | None`

The normalized value, or `None` for an unsupported value.

---

[View source on GitHub](https://github.com/langchain-ai/deepagents/blob/4bfa52000ef65ac623d8ada0cb67f67cbdd663ea/libs/code/deepagents_code/plugins/_json.py#L11)