You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@Cyberpunk314 You want to encode the record as JSON but you want to omit the empty fields? This library generates structs that serialize to JSON according to the Avro spec, which means the MarshalJSON method includes null fields.
for example, there is a result for MarshalJSON() function.
{"bucket":{"int":0},"buckets":null,"docid":null}
I want to filter the 'null' in this case.
The text was updated successfully, but these errors were encountered: