I have a JSON file that looks like this:
{
"options": {
"--singleseed": "Eugene Ionesco",
"--booktitle": "Rhinoceros"
}
}
I am loading it via
with open('/tmp/pagekicker/test.json') as json_data:
d = json.load(json_data)
s = str(d)
I now want to convert this to the following string:
--singleseed "Eugene Ionesco" --booktitle "Rhinoceros"
How can I do this?