RandomFractals / vscode-data-preview

Data Preview 🈸 extension for importing 📤 viewing 🔎 slicing 🔪 dicing 🎲 charting 📊 & exporting 📥 large JSON array/config, YAML, Apache Arrow, Avro, Parquet & Excel data files
https://marketplace.visualstudio.com/items?itemName=RandomFractalsInc.vscode-data-preview
Apache License 2.0
550 stars 59 forks source link

jsonlines reader #233

Closed aborruso closed 3 years ago

aborruso commented 3 years ago

Hi, first of all thank you very much.

I love the way vscode-data-preview parse jsonl files. It would be nice in some circumstances for me to do it via command-line. Is there some cli that I can use?

Thank you

RandomFractals commented 3 years ago

I have considered adding some data transform commands, but not as cli, rather as additionitional Data: Transform to {format} commands you can run from Command Palette on an open data file this extension supports.

RandomFractals commented 3 years ago

@aborruso have you tried jq for jsonl cli you are looking for?

https://zxvf.org/post/jq-as-grep/

aborruso commented 3 years ago

@RandomFractals I use it a lot