use easyjson.MarshalerUnmarshaler instead of custom (#299)

This commit is contained in:
Alexandr Mayorskiy
2020-07-27 19:20:34 +03:00
committed by GitHub
parent 0c6c960753
commit 87794d0ae8
+1 -6
View File
@@ -6,14 +6,9 @@ import (
"github.com/mailru/easyjson/jwriter"
)
type MarshalerUnmarshaler interface {
easyjson.Marshaler
easyjson.Unmarshaler
}
//easyjson:json
type NestedMarshaler struct {
Value MarshalerUnmarshaler
Value easyjson.MarshalerUnmarshaler
Value2 int
}