jsonicjs / jsonic

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

Default `omit` value should be an empty array not an empty object #13

Closed jacobbubu closed 7 years ago

jacobbubu commented 8 years ago

https://github.com/rjrodger/jsonic/blob/master/jsonic.js#L2170

var omit = callopts.omit || callopts.o || {};  // should be []?
rjrodger commented 7 years ago

Thank You!