Go's json marshal

11 September, 2018 | sab

When marshalling, if the variable reference is nil then json lib encodes it as nil. But for an empty slice the preferrence is to have [].


Site design and logo and content © fossix.org