Hacker News new | ask | show | jobs
by enneff 4222 days ago
The former is how it might work in a dynamically typed language. In a statically typed language, like Go, there are great benefits to decoding into the fields of struct with fields of known types.