UK & world technology
Sign inJoin us
TechBlastTechnology. Unpacked.UK & world technology
← Latest news

From Dev.to

Go's encoding/json/v2 Changes Six Defaults You Probably Rely On

Picture a short program that should make you pause. You marshal a slice of structs, one of which has a nil slice field. On v1 the output contains "Nicknames":null. Switch the import to encoding/json/v...

Read the full report at Dev.to ↗