Skip to content

Support tabular formats: jsonlines, csv #28

@cmungall

Description

@cmungall

It would be handy to have direct support for jsonl and CSV/TSV formats.

The easy workaround is:

jq -s '{ "items": . }' my.jsonl jinjanate my.j2 --format json

(assuming my jinja2 iterates through a key items)

or

jq -s . my.jsonl jinjanate my.j2 --format json --format-option array-name=items

Similarly, for CSV/TSV input tools like csvjson can easily do the processing up-front

So low priority but would be handy to avoid boilerplate preprocessing

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions