Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Respect the omitempty flag on structs when the field value is empty #224

Merged
merged 2 commits into from
Apr 24, 2024

Conversation

golanglemonade
Copy link
Contributor

Resolves: #223

Signed-off-by: Golang Lemonade <147884153+golanglemonade@users.noreply.github.com>
Signed-off-by: Golang Lemonade <147884153+golanglemonade@users.noreply.github.com>
@golanglemonade golanglemonade changed the title Respects the omitempty flag on structs when the field value is empty Respect the omitempty flag on structs when the field value is empty Apr 23, 2024
@Yamashou
Copy link
Owner

@golanglemonade Thanks!This case must be implementation

@Yamashou Yamashou merged commit b4a7b81 into Yamashou:master Apr 24, 2024
1 check passed
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.

MarshalJSON no longer respecting omitempty tags
2 participants