---
title: "Discussion on \"Using MockServer as an arbitrary JSON matcher\" | Hashnode"
description: "Discussion on \"Using MockServer as an arbitrary JSON matcher\". When writing integration tests, have you ever needed to match a JSON object against a specific pattern? I did, recently. The solution I found was an elegant hack (isn’t that an oximoron?) using the excellent MockServer. Let's explore how this hack wo..."
url: "https://hashnode.com/posts/using-mockserver-as-an-arbitrary-json-matcher/67ec3d9d00b3a3660f38540a"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [Using MockServer as an arbitrary JSON matcher](https://walletera.dev/using-mockserver-as-an-arbitrary-json-matcher?utm_source=hashnode&utm_medium=feed)

When writing integration tests, have you ever needed to match a JSON object against a specific pattern? I did, recently. The solution I found was an elegant hack (isn’t that an oximoron?) using the excellent MockServer. Let's explore how this hack wo...

Apr 1, 2025 · 4 min read · walletera.dev  
Read the article

-   [#golang](https://hashnode.com/tag/golang)
-   [#integration-testing](https://hashnode.com/tag/integration-testing)
-   [#mockserver](https://hashnode.com/tag/mockserver)
-   [#json](https://hashnode.com/tag/json)

## Written by

[Federico Moya](https://hashnode.com/@fedev)

@fedev

  
[View profile](https://hashnode.com/@fedev)

Senior Software Engineer

I'm a Senior Software Engineer. I'm a father of two wonderful kids and married to the most amazing woman on earth. I love outdoor activities like hiking and camping. I live in Argentina. Regarding my software engineer background, I can tell that I worked for some years for a sports betting company as a Senior Backend Engineer. Then I moved to a crypto exchange where I led a small team of Golang engineers. At the moment of writing this, I'm working as a Senior Golang Engineer for a company that offers a payments API to banks. Blogging is something that has been on my TODO list for some years now, so I'm very excited that I'm finally doing it. I have several notes waiting to become in what I believe will be great articles. So, what will this blog be about? Software Engineering Stuff. I will share thoughts, ideas, and concepts about topics like Event-Driven Architecture, Domain Driven Design, and Hexagonal Architecture (or Ports&amp;Adapters). You may also find some articles about automated end-to-end testing, cloud-native technologies, and who knows what. The sky is the limit, right? I'm a Golang fan so most of the code (examples and stuff like that) will be written in Go. Enjoy it!

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
