ckan / ckanapi

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

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

Open frafra opened 3 years ago

frafra commented 3 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