Skip to content

the property type is not what i expect when some json property value is JsonNull. #173

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
xurui1995 opened this issue May 14, 2019 · 0 comments
Assignees
Labels
Milestone

Comments

@xurui1995
Copy link
Collaborator

for example:

{
  "employees": [
    {
      "lastName": "tom"
    },
    {   
      "lastName": null
    },
    {  
      "lastName": null
    }
  ]
}

the generated type for lastName is "Any", maybe type "String" is more appropriate.

@xurui1995 xurui1995 self-assigned this May 14, 2019
@wuseal wuseal added the bug label May 14, 2019
@wuseal wuseal added this to the 3.3.0 milestone May 14, 2019
@wuseal wuseal added the fixed but not released this issue has been solved but is not released yet label May 20, 2019
@wuseal wuseal closed this as completed Jun 17, 2019
@wuseal wuseal removed the fixed but not released this issue has been solved but is not released yet label Jul 1, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants