|
You are here |
snprajwal.com | ||
| | | | |
attilaolah.eu
|
|
| | | | | Incidentally, decoding JSON data (or really, almost any data structure) isreally easy in Go (golang). We simply call json.Unmarshal(...) andboom! We have nice data structures. | |
| | | | |
xnacly.me
|
|
| | | | | Guide about working with JSON in go with HTTP server example | |
| | | | |
risi.co
|
|
| | | | | [AI summary] The blog post explains a Golang issue where custom UnmarshalJSON methods fail to unmarshal outer struct fields due to inner field shadowing and offers two solutions. | |
| | | | |
hjr265.me
|
|
| | | I know many will start with something like Gin whenever they are working on a JSON/HTTP-based backend in Go. I, not entirely sure if the minority, try to stick to Go's built-in net/http package and, at most, use Gorilla Mux in most of my Go projects. And so serving something simple like JSON is no different from the package's point of view as any other content type: whatever it is, write it out to the w, the http. | ||