-
Nested JSON data may be complicated but my use case is for simpler data. For example say I'm working with qsv select 1- fruits.csv
I get the stats data within my terminal: qsv stats fruits.csv
Then I convert that terminal output to JSON format with qsv stats fruits.csv | qsv sqlp - 'SELECT * FROM _t_1' --format json [{"field":"fruit","type":"String","is_ascii":true,"sum":null,"min":"apple","max":"strawberry","range":null,"min_length":5,"max_length":10,"mean":null,"stddev":null,"variance":null,"nullcount":0,"max_precision":null,"sparsity":0},{"field":"price","type":"Float","is_ascii":null,"sum":7,"min":"1.5","max":"3.0","range":1.5,"min_length":4,"max_length":4,"mean":2.3333,"stddev":0.6236,"variance":0.3889,"nullcount":0,"max_precision":1,"sparsity":0}] However I don't know of a reverse operation with qsv where JSON data is taken as input and output as CSV (similar to My use case is converting this non-nested JSON data from Is this possible and how? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
See PR #1880 for |
Beta Was this translation helpful? Give feedback.
See PR #1880 for
qsv jsonp
.