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

Enforce string when string is the only item type #11

Merged
merged 2 commits into from
Dec 15, 2021

Conversation

tuliren
Copy link

@tuliren tuliren commented Dec 14, 2021

Previously PR #10 aded string enforcing to handle Json arrays without unknown types or array elements that do not follow the schema. However, it also introduced a bug that every element within an array would be converted to string.

This PR fixes this bug by enforcing string conversion when string is the only item type for an array.

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