Go-testdeep, testing JSON content in Golang
The last release of go-testdeep brings a lot of new features, including some JSON enhancements making it probably one of the best solutions to do JSON comparisons in golang world
Go-testdeep, testing JSON content in Golang launched on March 20, 2023 with 14 votes, #1,802 of 5,007 launches that month and more than 75% of that year's launches. The site was still online in September 2026, 3 years on.
In plain words
Go-testdeep is a testing tool for Go developers that specializes in comparing and validating JSON content. The software provides capabilities for checking JSON structures and values during testing workflows. It includes enhancements designed to streamline JSON comparison tasks in Go projects. The tool is intended for Go developers who need to verify JSON data in their tests.
written from the facts on this page · September 2026
From the sources
func JSON(expectedJSON any, params ...any) TestDeep JSON operator allows to compare the JSON representation of data against expectedJSON. expectedJSON can be a: string containing JSON data like {
JSON operator allows to compare the JSON representation of data against expectedJSON . expectedJSON can be a: expectedJSON JSON value can contain placeholders. The params are for any placeholder parameters in expectedJSON . params can contain TestDeep operators as well as raw values. A placeholder can be numeric like $2 or named like $name and always references an item in params . params can also contains [encoding/json/v2.Options] when [encoding/json/v2] must be used, see jsonv2 example. Numeric placeholders reference the n’th “operators” item (starting at 1). Named placeholders are used with Tag operator as follows: It makes no difference whatever the underlying type of…from go-testdeep.zetta.rocks
Does a similar job
all alternatives →
JSON For You – Visualize JSON in graph or table views2024 · github.com · ▲211After two years of improvement, I think it's time to share it with you all. Here’s a quick overview: - Common features include validation, formatting, minification, and more. - Visualize JSON in a graph or table view. - Structured comparison with fallback to text comparison. - Navigate though JSON using JSON pointer. - Supports jq. Would love to hear the community's questions, thoughts and comments!
Gojay – Performant JSON encoder/decoder for Golang2018 · github.com · ▲153high performance JSON encoder/decoder with stream API for Golang - GitHub - francoispqt/gojay: high performance JSON encoder/decoder with stream API for Golang
jql – Easier jq Alternative with a Lispy Syntax Written in Go2020 · github.com · ▲217Easy JSON Query Processor with a Lispy syntax in Go - cube2222/jql
- GJGenerate JSON mock data for testing/initial app development2023 · jsongenerator.io · ▲103
Easily create complex JSON data structures using intuitive templates.
A fast JSON library for Go2021 · github.com · ▲119Fast JSON encoder/decoder compatible with encoding/json for Go - goccy/go-json
ffjson: faster json serialization in Go2014 · journal.paul.querna.org · ▲83
More dev tools this month
the category →

open-source IDE for thoughtful software design. Contribute to devdotfast/whiteboard development by creating an account on GitHub.
Dev tools · 28d ago · github.com

Contribute to reladraw/reladraw development by creating an account on GitHub.
Dev tools · 26d ago · github.com
OpenBot▲362Grok Bot alternative: free, local, open-source, multiplayer
Dev tools · 24d ago · openbot.run
Talanoa▲346Hi HN, I’m a fullstack developer, and honestly, I’ve lost count of how many side projects I’ve worked on over the years. But one idea kept coming back to me: a different kind of email client. It first came to me in 2014: “What if we could handle emails more like conversations?” Every year, I’d revisit this concept in my “Build Notes.” Ten years later, no one had built exactly what I had in mind — so I finally decided to do it myself. That’s how Talanoa was born. I wanted something focused on people, not timelines. I was tired of marking messages as unread just to remember to reply later, or…
Dev tools · 21d ago · talanoa.email

Contribute to oosexgang/hackios-xnu-kernel development by creating an account on GitHub.
Dev tools · 12h ago · github.com
Source: Show HN post ↗
Launched alongside, March 2023
the whole month →

Typing Mind▲826Chat with AI using your API keys. Pay only for what you use. ChatGPT, Gemini, Claude, and other LLMs supported. The best chat LLM frontend UI for all AI models.
AI · 2023 · typingmind.com

Sequoia▲726Personalized men's sexual health with on-demand experts
Life & fun · 2023 · sequoia.health
- BI
I'm a big fan of the BBC podcast In Our Time -- and (like most people) I've been playing with the OpenAI APIs. In Our Time has almost 1,000 episodes on everything from Cleopatra to the evolution of teeth to plasma physics, all still available, so it's my starting point to learn about most topics. But it's not well organised. So here are the episodes sorted by library code. It's fun to explore. Web scraping is usually pretty tedious, but I found that I could send the minimised HTML to GPT-3 and get (almost) perfect JSON back: the prompt includes the Typescript definition. At the same time I…
AI · 2023 · genmon.github.io