3 Comments
User's avatar
Anand Gupta's avatar

May be you can release json-toolkit as pip package. Also I found jq very cryptic even though it is very popular. I ran into jfq which is based on jsonata library (try.jsonata.org) and found it much more simpler to learn.

Expand full comment
Tyler Adams's avatar

I'd like to release it as a debian package, but I'm not familiar with the process, do you know anybody who could help? Not all of the tools are written in python, so sadly, releasing it as a pip package is not an option.

I'm not familiar with jfq, what in particular did you find easier about it?

Expand full comment
Anand Gupta's avatar

For one particular problem involving map function, I found it easier to do it in jfq vs jq.

Here is the jq solution:

https://jqterm.com/293b27b39aaa40ac758abec759525b18?query=%28.columns%20%7C%20map%28.%29%29%20as%20%24headers%7C%20.values%20%7C%20map%28.%20as%20%24row%20%7C%20%24headers%20%7C%20with_entries%28%7B%22key%22%3A%20.value%2C%20%22value%22%3A%20%24row%5B.key%5D%7D%29%29

Here is the jfq solution:

https://try.jsonata.org/adNbKbO1I

jfq is a nodejs wrapper script around javascript package jsonata and is installable through 'npm install -g jfq'

Don't know anyone ready to help with debian package.

Expand full comment