> For the complete documentation index, see [llms.txt](https://docs.n8n.io/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.n8n.io/build/code-in-n8n/use-built-in-shortcuts/jmespath.md).

# JMESPath

A method for working with the JMESPath library in n8n.

This is an n8n-provided method for working with the [JMESPath](https://docs.n8n.io/build/work-with-data/handle-special-data-types/query-json-data.md) library.

{% hint style="info" %}
**JavaScript only**

The Python Code node doesn't provide this method. To query JSON in Python, use standard Python instead. Refer to [Query JSON with JMESPath](https://docs.n8n.io/build/work-with-data/handle-special-data-types/query-json-data.md) for a Python version of each example.
{% endhint %}

| Method        | Description                                       | Available in Code node? |
| ------------- | ------------------------------------------------- | :---------------------: |
| `$jmespath()` | Perform a search on a JSON object using JMESPath. |            ✅            |

## Related resources

* [Use built-in shortcuts](https://docs.n8n.io/build/code-in-n8n/use-built-in-shortcuts.md)
* [HTTP node](https://docs.n8n.io/build/code-in-n8n/use-built-in-shortcuts/http-node.md)
* [LangChain Code node](https://docs.n8n.io/build/code-in-n8n/use-built-in-shortcuts/langchain-code-node.md)
* [n8n metadata](https://docs.n8n.io/build/code-in-n8n/use-built-in-shortcuts/n8n-metadata.md)
