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

should not deserialize a null value to undefined #25

Open
brian9206 opened this issue May 23, 2017 · 0 comments
Open

should not deserialize a null value to undefined #25

brian9206 opened this issue May 23, 2017 · 0 comments

Comments

@brian9206
Copy link

I know it is good to use undefined if the JSON does not have the certain property, but what if the property has a value of null?
In this case, json-typescript-mapper will map the value to undefined but I think it is a bad idea because the value DOES exist and it should be mapped as null.

What do you think?

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

No branches or pull requests

1 participant