Proxmox JSON, Part 2: Three More Surprises
The Proxmox API found three more ways to trip up Go's JSON decoding. Here's what broke and how I fixed it.
In 2023 I wrote about why go-proxmox has StringOrInt and friends.
Proxmox sends the same number quoted in one place and bare in another, so the client has types that accept both. That
post ended on a pretty confident note. Since then three more shapes of “the JSON is valid and Go still won’t take it”
have come in. One of them is a bug I’d already fixed once and then reintroduced myself.
