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

Floki doesn't understand some types of json files #38

Closed MDIB closed 5 years ago

MDIB commented 5 years ago

If my input is a json file that has the following structure (one map per line, not inside an array or anything) Floki doesn't know how to navigate to the structure.

e.g

{"k1":"v1"}
{"k1":"v2"}
{"k1":"vN"}
emiln commented 5 years ago

Technically that's not valid JSON, which is probably why it doesn't work.

denisidoro commented 5 years ago

Hmm I guess I don't plan to support this, given that it's not a valid JSON and you could always pipe this input you provided to a command that converts it to a vector (which would be valid)