diff options
author | Jose M. Guisado <jguisado@soleta.eu> | 2021-03-18 14:19:51 +0100 |
---|---|---|
committer | OpenGnSys Support Team <soporte-og@soleta.eu> | 2021-03-18 15:40:35 +0100 |
commit | 565e798ef9622486e9a11382085caf1e9c465241 (patch) | |
tree | 0e03fa4f0323cc4921c057a4ca947b7d6e997ebe /cli/cli.py | |
parent | c80f27c98ca1748ca08cb00bd57eb4c3baba79a5 (diff) |
Print json instead of python dict in responses
r.json() decodes the responses json and passes it to json.loads() which
will convert the content into a python dictionary.
Print the literal JSON text so that output can be further manipulated by
other tools like jq.
Diffstat (limited to 'cli/cli.py')
0 files changed, 0 insertions, 0 deletions