podhmo / dictknife

armyknife of handling dict object
MIT License
19 stars 4 forks source link

fix jsonknife select with empty string ref, ValueError is raised #144

Closed podhmo closed 5 years ago

podhmo commented 5 years ago

00people.csv

name,age
foo,20
bar,20
boo,11
$ dictknife cat 00people.csv -o json | jsonknife --debug select -i json --ref "@people"
ValueError: invalid query '' (where=None)