▲ | int_19h 3 days ago | |||||||
It is different from nil, but then again a nil map in Go behaves like an empty map when reading from it. If you consider serialization to be "reading", therefore, it makes sense to interpret it accordingly. | ||||||||
▲ | leononame a day ago | parent [-] | |||||||
That is not true, though. Reading from a nil map panics, and reading from an empty map does not. | ||||||||
|