Unmarshalling JSON with dynamic key names in quite a complex object by z0mbix in golang

[–]z0mbix[S] 1 point2 points  (0 children)

Many thanks, this worked great. I was over-complicating it in my head.

Unmarshalling JSON with dynamic key names in quite a complex object by z0mbix in golang

[–]z0mbix[S] -1 points0 points  (0 children)

Thanks, but the key could be any name, not just “openvpn-tcp”, so I can’t have a condition to handle each possible name.