jsonicjs / jsonic

JSON parser that isn't strict
MIT License
199 stars 23 forks source link

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

Closed baldmountain closed 7 years ago

baldmountain commented 8 years ago

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 commented 7 years ago

Thank you!