Re:Trading with Claude (and writing your own MCP server)
by Zambyte on Sunday May 25, 2025 @09:25PM
(#44093034)
Interesting, Go is actually a language I tend to reach for when dealing with JSON.
[ Parent
| on HN ]
Re:Trading with Claude (and writing your own MCP server)
by abound on Sunday May 25, 2025 @09:50PM
(#44093182)
I 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.