Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
never_inline
· 1y ago · 0 comments
You can annotate `json:"-"` which is equivalent of @JsonIgnore
Comments
[–]
zimpenfish
1y ago
Covered in the article along with a potential snafu - adding anything else (`-,omitempty`) turns it into a key "-", not the "ignore this field" indicator.