JF, aka "jndex fingers" or more commonly "json filter pipeline", is a jq-clone written in python. It supports evaluation of python one-liners, making it especially appealing for data scientists who are used to working with python.
To get started, install jf
pip install jf
Filter selected fields
$ cat samples.jsonl | jf '{id: x.id, subject: x.fields.subject}'
{"id": "87086895", "subject": "Swedish children stories"}
{"id": "87114792", "subject": "New Finnish storybooks"}
To really get started using JF, start with the userguide
.
For examples onf how you might use JF with your own data, check out the examples
.
For detailed information about specific JF components, consult the modules
.
docs/user_guide docs/modules docs/examples docs/more_examples
genindex
modindex
search