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 akira
Recipients Yakov.Keselman, akira, kushal.das
Date 2014-04-09.18:37:40
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1397068660.95.0.958927716647.issue21182@psf.upfronthosting.co.za>
In-reply-to
Content
You need to escape backslashes inside a Python string literal or use raw-string literals:

  >>> import json
  >>> json.loads(r'["[\"Residential | Furniture | Cabinets\",\"119.99\"]"]')
  [u'["Residential | Furniture | Cabinets","119.99"]']

If the backslashes are unintentional then you could remove them:

  >>> json.loads('[["Residential | Furniture | Cabinets","119.99"]]')
  [[u'Residential | Furniture | Cabinets', u'119.99']]

Note: the result is different
History
Date User Action Args
2014-04-09 18:37:40akirasetrecipients: + akira, kushal.das, Yakov.Keselman
2014-04-09 18:37:40akirasetmessageid: <1397068660.95.0.958927716647.issue21182@psf.upfronthosting.co.za>
2014-04-09 18:37:40akiralinkissue21182 messages
2014-04-09 18:37:40akiracreate