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

Properties named "list" result in empty names of classes #431

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

Properties named "list" result in empty names of classes #431

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

Comments

@ark-1
Copy link
Contributor

ark-1 commented Jul 14, 2024

Steps to reproduce:
Input the following JSON:

{
  "list": [{}]
}

Expected output:

data class Test(
    val list: List<Item0>
)
            
class Item0

(or something similar)
Actual output:

data class Test(
    val list: List<>
)

class 
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 a pull request may close this issue.

1 participant