Jeffail/gabs

Support marshaling using json.Marshal()

gruetter opened this issue · 1 comments

When a Container is embedded into another struct, calling json.Marshal() on that struct will not marshal the contents of the Container. For that to work, Container needs to implement method MarshalJSON() ([]byte, error) as a custom marshaler method. I'll add a PR for this shortly.

Released under v2.3.0