Closed wenjing closed 3 years ago
Currently it is printing in Python object. Please use json.dumps(). It will help testing scripts to parse it.
For example: root@b781a17d2668:/# vsw list -w { 'results': [ { 'did': 'JdMNEPKUTXu3dHSdiomVoD', 'verkey': 'AcDY2ZG9Nim5xcZXB73pyXj5WMxXdrjfzZUGRjkdgPhU', 'public': True } ] }
It should be:
"did": "JdMNEPKUTXu3dHSdiomVoD"
See also: https://stackoverflow.com/questions/39491420/python-jsonexpecting-property-name-enclosed-in-double-quotes
verified 0.0.20
Currently it is printing in Python object. Please use json.dumps(). It will help testing scripts to parse it.
For example: root@b781a17d2668:/# vsw list -w { 'results': [ { 'did': 'JdMNEPKUTXu3dHSdiomVoD', 'verkey': 'AcDY2ZG9Nim5xcZXB73pyXj5WMxXdrjfzZUGRjkdgPhU', 'public': True } ] }
It should be:
"did": "JdMNEPKUTXu3dHSdiomVoD"
See also: https://stackoverflow.com/questions/39491420/python-jsonexpecting-property-name-enclosed-in-double-quotes