denisidoro / floki

A JSON/EDN browser for the terminal
https://www.npmjs.com/package/floki
Apache License 2.0
317 stars 7 forks source link

object with length property nested below crashes floki with TypeError #44

Open focusaurus opened 5 years ago

focusaurus commented 5 years ago

Input to reproduce

{"foo":{"length":0}}

Error

echo '{"foo":{"length":0}}' | floki
WARNING: the `ws` package must be installed to use `react-devtools`.
TypeError: obj.forEach is not a function