Empty array becomes null
Opened this issue · 1 comments
cschloer commented
Hey,
I'm wrapping a map[string]{interface} that has an empty array in it ([]
). The resulting Container has a null value rather than a []
.
I think the issue might be related to this: https://www.danott.co/posts/json-marshalling-empty-slices-to-empty-arrays-in-go/
Is there any chance of this being supported? Thanks.