encode nil slices and maps as null
Open
enhancement
- Dominant language
- Go
- Stars
- 95
- Forks
- 18
- PR merge metrics
- No merged PRs in 30d
Description
Both maps and slices can already be nil, so perhaps we could encode the union `["null", {"type": "map", "values": "int"}]` as `map[string]int]` not `*map[string]int` as we do currently.
But this would mean that Go maps and slices would _always_ encode as a null union, which might not be desired.
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.