blob: f6fb4375da7d173c9ee5120e0af8f3a01cdc2847 [file] [log] [blame]
package test
type typeForTest struct {
F jm `json:"f,omitempty"`
}
type jm struct{}
func (t *jm) UnmarshalJSON(b []byte) error {
return nil
}
func (t jm) MarshalJSON() ([]byte, error) {
return []byte(`""`), nil
}