> For the complete documentation index, see [llms.txt](https://docs.cloud.hoverfly.io/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.cloud.hoverfly.io/create-simulations/configuring-request-matchers/json-request-matchers-on-the-body/json-matcher.md).

# JSON Matcher

JSON matching will match exactly the JSON that is entered into the editor. The order of the objects is irrelevant, but the JSON document as a whole should evaluate to exactly what is typed into the editor.

Do not confuse this with the EXACT matcher which looks for exact string content. The JSON matcher looks for exact JSON content and doesn't care about order, only structure and values.

### JSON Matching example:

| **Matcher value**                                             | **Positive match payload**           | **Non match payload**                                         |
| ------------------------------------------------------------- | ------------------------------------ | ------------------------------------------------------------- |
| <p>{</p><p>"name": "John",</p><p>"surname": "Doe"</p><p>}</p> | { "surname": "Doe" , "name": "John"} | <p>{</p><p>"name": "Jane",</p><p>"surname": "Doe"</p><p>}</p> |
