Skip to content

Conversation

@nsd20463
Copy link
Contributor

This also fixes the
X uintptr json:",omitempty"
omitempty applied to a zero-value uintptr is treated as empty by the stdlib json.Marshal, but wasn't by easyjson.

omitzero was added to the go stdlib encoder/json in go 1.24
and does accept omitempty in the go stdlib encoder/json.
@nsd20463 nsd20463 changed the title Support for jsson:",omitzero" tag Support for jason:",omitzero" tag Sep 26, 2025
@nsd20463 nsd20463 changed the title Support for jason:",omitzero" tag Support for json:",omitzero" tag Sep 26, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant