Skip to content

A fix for issue: parser ignores array[0] if value is 0 #11

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

Merged
merged 1 commit into from
Apr 14, 2017
Merged

A fix for issue: parser ignores array[0] if value is 0 #11

merged 1 commit into from
Apr 14, 2017

Conversation

baldmountain
Copy link
Contributor

Mainly a check for not undefined and not null rather than just
truethy since 0 and "" should be included in arrays but are not
truethy.

Mainly a check for not undefined and not null rather than just
truethy since 0 and "" should be included in arrays but are not
truethy.
@rjrodger rjrodger merged commit 252cdc5 into jsonicjs:master Apr 14, 2017
@rjrodger
Copy link
Collaborator

Thank you!

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.

2 participants