go icon indicating copy to clipboard operation
go copied to clipboard

Add EmptyCollections config option for maps and slices

Open emcfarlane opened this issue 2 years ago • 0 comments

Adds a config option EmptyCollections to encode nil maps and slices as empty collections.

Based on the issue described in more detail here: https://github.com/golang/go/issues/27589 but works with a configuration option.

emcfarlane avatar Jan 30 '23 19:01 emcfarlane