()
| 164 | } |
| 165 | |
| 166 | func (t Test2) MarshalJSON() ([]byte, error) { |
| 167 | b, err := t.union.MarshalJSON() |
| 168 | return b, err |
| 169 | } |
| 170 | |
| 171 | func (t *Test2) UnmarshalJSON(b []byte) error { |
| 172 | err := t.union.UnmarshalJSON(b) |
nothing calls this directly
no test coverage detected