Proxmox JSON, Part 2: null PIDs, 1.12589990684262e+15 and net10
The Proxmox VE API found three more ways for its JSON not to fit Go's encoding/json. There's a null I fixed and then broke, petabyte storage in scientific notation, and devices past index 9 that were silently dropped.
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.
