diff --git a/tests/nested_easy.go b/tests/nested_easy.go index c7f0f4b..6309a49 100644 --- a/tests/nested_easy.go +++ b/tests/nested_easy.go @@ -19,5 +19,7 @@ type NestedEasyMarshaler struct { var _ easyjson.Marshaler = &NestedEasyMarshaler{} func (i *NestedEasyMarshaler) MarshalEasyJSON(w *jwriter.Writer) { + // We use this method only to indicate that easyjson.Marshaler + // interface was really used while encoding. i.EasilyMarshaled = true } \ No newline at end of file