Skip to content

Support nullable array elements #429

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

Closed
ark-1 opened this issue Jul 14, 2024 · 0 comments · Fixed by #430
Closed

Support nullable array elements #429

ark-1 opened this issue Jul 14, 2024 · 0 comments · Fixed by #430
Labels

Comments

@ark-1
Copy link
Contributor

ark-1 commented Jul 14, 2024

If some elements in a JSON array are null, the resulting List should get a nullable type parameter, for example List<String?>.
Currently, it gets List<String>.

ark-1 added a commit to Kotlin/JsonToKotlinClass that referenced this issue Jul 15, 2024
Also fix nullable property detection
@wuseal wuseal closed this as completed in 4b0df27 Jul 19, 2024
@wuseal wuseal added the bug label Sep 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants