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

json: add error for empty key and update usage text #2167

Merged
merged 2 commits into from
Sep 24, 2024

Conversation

rzmk
Copy link
Collaborator

@rzmk rzmk commented Sep 24, 2024

Outputs an error when there is an empty key in the first object, since the column with an empty key is not represented in the output. Also adds a note about not recommending usage for objects with duplicate keys, which in the future could be turned into an error when there are duplicate keys.

See both of the below images for examples.

Example 1

Explanation image

Example 2

Explanation image 2

@jqnatividad jqnatividad merged commit ed1362d into master Sep 24, 2024
15 of 16 checks passed
@rzmk rzmk deleted the json-empty-error branch September 24, 2024 12:49
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.

2 participants