[FEATURE] Support for omitzero similar to encoding/json from golang 1.24 #224
Open
Description
Is there an existing feature request for this?
- I have searched the existing feature requests
Is your feature request related to a problem? Please describe.
It would be great to support omitzero
tag working the same way as coming golang 1.24 encoding/json package support.
Describe the solution that you would like.
omitzero tag should trigger calling IsZero()
method on value and verify value specific "zero" values.
e.g. it helps with time.Time
zero values support.
Describe alternatives you have considered.
No response
Anything else?
No response
Metadata
Assignees
Labels
No labels