Tags, Ignore Field
nanohard opened this issue · 1 comments
nanohard commented
It does not look like there is a way to ignore struct fields using tags such as json:"-"
Tried to use as a drop-in replacement to encoding/json and got unsupported type *thirdParty.Struct
.
Is ignoring struct fields a feature that is on the roadmap?
kelindar commented
Interesting, I think we could solve it two ways:
- Support tags, something like
binary:"-"
. - Add a codec for resolving pointers and encoding their values.
I'll add the binary capability first.