[issue16356] cjson dose not decode \/ properly

2012-10-29 Thread Ezio Melotti
Ezio Melotti added the comment: This works fine with the standard json module. >>> json.loads(json.dumps('/')) '/' FWIW 'json' also has C accelerations. -- nosy: +ezio.melotti stage: -> committed/rejected ___ Python tracker

[issue16356] cjson dose not decode \/ properly

2012-10-29 Thread Christian Heimes
Christian Heimes added the comment: cjson is a third party module and not part of Python's standard library. Please report the error to the author of the cjson package. Python 2.7 has a builtin json encoder and decoder. The package is called 'json'. http://docs.python.org/2.7/library/json.htm

[issue16356] cjson dose not decode \/ properly

2012-10-29 Thread Richard Delorenzi
New submission from Richard Delorenzi: This code produces the wrong result import cjson cjson.decode(cjson.encode('/')) It produces '\\/', it should produce '/' using /usr/lib/pymodules/python2.7/cjson.so cjson version 1.0.5-4build1 -- components: None messages: 174114 nosy: Richard.D