mirror of
https://github.com/netbirdio/easyjson.git
synced 2026-05-22 18:44:42 -07:00
As reported in issue #256, currently, an empty map is unmarshalled into nil by easyjson If a field is marked "required" or "!omitempty", then the empty map is a valid input and we should unmarshal it into an empty map. Similar logic for marshalling. This change is to fix the behavior
7 lines
44 B
Plaintext
7 lines
44 B
Plaintext
.root
|
|
*_easyjson.go
|
|
*.iml
|
|
.idea
|
|
*.swp
|
|
bin/*
|