3 ms·
Interesting, Go is actually a language I tend to reach for when dealing with JSON.
by Zambyte 1y ago
Interesting, Go is actually a language I tend to reach for when dealing with JSON.
- abound 1y agoI feel the same way, but to defend GP, if you're dealing with unknown JSON, the experience of deserializing `any` (or `map[string]any` if you know the top-level entity is an object) can be extremely tedious. For things like structured API requests/responses, Go's struct tags are basically exactly how I want my JSON ser/de to look.
- maxwellg 1y agoIt looks like there are a few Golang implementations of MCP. The one used in the article doesn't use tags but mcp-golang does. Tags are great! I love tags. - https://github.com/metoro-io/mcp-golang https://github.com/metoro-io/mcp-golang