We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5c65c6f commit 0c6c960Copy full SHA for 0c6c960
helpers.go
@@ -22,6 +22,12 @@ type Unmarshaler interface {
22
UnmarshalEasyJSON(w *jlexer.Lexer)
23
}
24
25
+// MarshalerUnmarshaler is an easyjson-compatible marshaler/unmarshaler interface.
26
+type MarshalerUnmarshaler interface {
27
+ Marshaler
28
+ Unmarshaler
29
+}
30
+
31
// Optional defines an undefined-test method for a type to integrate with 'omitempty' logic.
32
type Optional interface {
33
IsDefined() bool
0 commit comments