JSON export #263

jantman opened this Issue Feb 5, 2017 · 1 comment


None yet

2 participants

jantman commented Feb 5, 2017

The export switch is nice with its CSV, but it would be very useful for scripting if this program offered some better machine-readable output format, such as JSON. This would be useful not only for export but also for regular show operations, such as lpass show --json UNIQUE-ID.


You can use the --format switch to customize the output for lpass show.

I'd rather not bloat the code with yet another output format -- if you want json, you might take a look at csvkit which includes a command-line csv-to-json converter that you could just insert in a pipeline.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment