Blacksmoke16 / oq

A performant, and portable jq wrapper to facilitate the consumption and output of formats other than JSON; using jq filters to transform the data.
https://blacksmoke16.github.io/oq/
MIT License
190 stars 15 forks source link

Add CSV format support #114

Open eadmaster opened 1 year ago

eadmaster commented 1 year ago

may need some extra args to handle nested data correctly:

https://github.com/jzelinskie/faq/issues/79

zw963 commented 1 year ago

I know the yq today(created by go), i consider it make oq obsolete, because oq need pull the jq as dependency, unless oq support all format without any external dependency, otherwise, oq should always can be replace by yq?

Blacksmoke16 commented 1 year ago

No I'm not going to abandon this project just because another similar project exists. jq is very robust, performant, and more common which gives oq the advantage in it can most likely just be a drop in replacement for jq and start supporting different formats right away instead of needing to adjust the syntax to fit with yq.

Also checkout https://dev.to/blacksmoke16/oq-a-portable-performant-jq-wrapper-part-2-5h6l. It was a while ago at this point so maybe something changed, but when I last checked it wasn't very performant.

zw963 commented 1 year ago

But, What really influenced my choice was, single binary,

e.g. throw one binary into my old VPS, now i can use it, when use with oq, i have do upload two binary instead.

Blacksmoke16 commented 1 year ago

🤷 Oh well? It's not that big of a deal. Either way, this isn't the place to be having this discussion.