# JSON Request Matchers on the Body

### Strategies for matching JSON in the Request

The Body request matcher is what we will be exploring here, in particular, when the body contains JSON data and you need to match on either the data, or the structure of the JSON.

Whether you are doing EXACT, JSON, JSONPartial, JSONPath or Regular Expression matching, the Matcher value must be typed into the Request Matcher's Body field as below:

<figure><img src="/files/sPrI9WweO9dsssHf3MvT" alt=""><figcaption></figcaption></figure>


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.cloud.hoverfly.io/create-simulations/configuring-request-matchers/json-request-matchers-on-the-body.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
