kelindar/binary

Tags, Ignore Field

nanohard opened this issue · 1 comments

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?

Interesting, I think we could solve it two ways:

  1. Support tags, something like binary:"-".
  2. Add a codec for resolving pointers and encoding their values.

I'll add the binary capability first.