ckan / ckanapi

A command line interface and Python module for accessing the CKAN Action API
Other
182 stars 75 forks source link

ckanapi load dataset -I "$json" expect a single line json #171

Open frafra opened 4 years ago

frafra commented 4 years ago

The JSON file has been generated by ckanapi dump datasets ....

Workaround:

cp $path/datapackage.json{,.bak}
jq -c < $path/datapackage.json.bak > $path/datapackage.json