This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author zorigt
Recipients zorigt
Date 2015-02-18.22:23:56
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1424298237.21.0.795168205464.issue23480@psf.upfronthosting.co.za>
In-reply-to
Content
I found a syntax type in your demo example on https://docs.python.org/2/library/json.html

>>> print json.dumps({"c": 0, "b": 0, "a": 0}, sort_keys=True)
{"a": 0, "b": 0, "c": 0}

The correct return should be a 'str' type not json. Therefore:

>>> print json.dumps({"c": 0, "b": 0, "a": 0}, sort_keys=True)
'{"a": 0, "b": 0, "c": 0}'
History
Date User Action Args
2015-02-18 22:23:57zorigtsetrecipients: + zorigt
2015-02-18 22:23:57zorigtsetmessageid: <1424298237.21.0.795168205464.issue23480@psf.upfronthosting.co.za>
2015-02-18 22:23:57zorigtlinkissue23480 messages
2015-02-18 22:23:56zorigtcreate