@@ -89,6 +89,12 @@ func (r *wireRequest) MarshalJSONObject(enc *gojay.Encoder) {
89
89
// IsNil returns wether the structure is nil value or not
90
90
func (r * wireRequest ) IsNil () bool { return r == nil }
91
91
92
+ // compile time check whether the wireRequest implements a gojay.MarshalerJSONObject interface.
93
+ var _ gojay.MarshalerJSONObject = (* wireRequest )(nil )
94
+
95
+ // compile time check whether the wireRequest implements a gojay.UnmarshalerJSONObject interface.
96
+ var _ gojay.UnmarshalerJSONObject = (* wireRequest )(nil )
97
+
92
98
// UnmarshalJSONObject implements gojay's UnmarshalerJSONObject
93
99
func (r * wireResponse ) UnmarshalJSONObject (dec * gojay.Decoder , k string ) error {
94
100
switch k {
@@ -125,6 +131,12 @@ func (r *wireResponse) MarshalJSONObject(enc *gojay.Encoder) {
125
131
// IsNil returns wether the structure is nil value or not
126
132
func (r * wireResponse ) IsNil () bool { return r == nil }
127
133
134
+ // compile time check whether the wireResponse implements a gojay.MarshalerJSONObject interface.
135
+ var _ gojay.MarshalerJSONObject = (* wireResponse )(nil )
136
+
137
+ // compile time check whether the wireResponse implements a gojay.UnmarshalerJSONObject interface.
138
+ var _ gojay.UnmarshalerJSONObject = (* wireResponse )(nil )
139
+
128
140
// UnmarshalJSONObject implements gojay's UnmarshalerJSONObject
129
141
func (r * Combined ) UnmarshalJSONObject (dec * gojay.Decoder , k string ) error {
130
142
switch k {
@@ -173,6 +185,12 @@ func (r *Combined) MarshalJSONObject(enc *gojay.Encoder) {
173
185
// IsNil returns wether the structure is nil value or not
174
186
func (r * Combined ) IsNil () bool { return r == nil }
175
187
188
+ // compile time check whether the Combined implements a gojay.MarshalerJSONObject interface.
189
+ var _ gojay.MarshalerJSONObject = (* Combined )(nil )
190
+
191
+ // compile time check whether the Combined implements a gojay.UnmarshalerJSONObject interface.
192
+ var _ gojay.UnmarshalerJSONObject = (* Combined )(nil )
193
+
176
194
// UnmarshalJSONObject implements gojay's UnmarshalerJSONObject
177
195
func (m * NotificationMessage ) UnmarshalJSONObject (dec * gojay.Decoder , k string ) error {
178
196
switch k {
@@ -201,3 +219,9 @@ func (m *NotificationMessage) MarshalJSONObject(enc *gojay.Encoder) {
201
219
202
220
// IsNil returns wether the structure is nil value or not
203
221
func (m * NotificationMessage ) IsNil () bool { return m == nil }
222
+
223
+ // compile time check whether the NotificationMessage implements a gojay.MarshalerJSONObject interface.
224
+ var _ gojay.MarshalerJSONObject = (* NotificationMessage )(nil )
225
+
226
+ // compile time check whether the NotificationMessage implements a gojay.UnmarshalerJSONObject interface.
227
+ var _ gojay.UnmarshalerJSONObject = (* NotificationMessage )(nil )
0 commit comments