decode and encode are not each other's inverse

Bug #800465 reported by Soren Hansen
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
python-cjson (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

>>> cjson.decode(cjson.encode({'foo':'/dev/vdc'}))
{'foo': '\\/dev\\/vdc'}

Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in python-cjson (Ubuntu):
status: New → Confirmed
Revision history for this message
Karmo Rosental (karmux) wrote :

Seems to be fixed in custom python-cjson version 1.0.3x7: http://python.cx.hu/python-cjson/
Would be nice to have it fixed in original python-cjson too.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.