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

fix: properly format empty object with JSON normalizer #549

Merged
merged 1 commit into from
Jul 22, 2024

Conversation

romm
Copy link
Member

@romm romm commented Jul 22, 2024

Objects that yield no value or have no property will now properly be formatted into {} instead of [].

fixes #542

Objects that yield no value or have no property will now properly be
formatted into `{}` instead of `[]`.
@romm romm enabled auto-merge (rebase) July 22, 2024 20:31
@romm romm merged commit ba22b52 into CuyZ:master Jul 22, 2024
11 checks passed
@romm romm deleted the fix/empty-iterable-object branch July 22, 2024 20:31
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.

JsonNormalizer creates array JSON when object is passed
1 participant