Re: [BangPypers] I am facing an issue while decoding json string using json.loads

2012-12-26 Thread sajuptpm
Thanks Gora, Issue fixed , I revered the order json.loads then unquote -- View this message in context: http://python.6.n6.nabble.com/I-am-facing-an-issue-while-decoding-json-string-using-json-loads-tp5000465p5000518.html Sent from the Bangalore (BangPypers) mailing list archive at Nabble.com.

Re: [BangPypers] I am facing an issue while decoding json string using json.loads

2012-12-25 Thread Gora Mohanty
On 26 December 2012 12:39, Saju M wrote: > Hi, > > I am facing an issue while decoding json string using json.loads(jstring). > Its working, if i do json.dumps(eval(jstring)) before json.loads(jstring). > I could not figure out the issue. I want to avoide use of "eval" here. > > > > *#

Re: [BangPypers] I am facing an issue while decoding json string using json.loads

2012-12-25 Thread Vineet Naik
Hi, On Wed, Dec 26, 2012 at 12:39 PM, Saju M wrote: > Hi, > > I am facing an issue while decoding json string using json.loads(jstring). > Its working, if i do json.dumps(eval(jstring)) before json.loads(jstring). > I could not figure out the issue. I want to avoide use of "eval" here. > For su

[BangPypers] I am facing an issue while decoding json string using json.loads

2012-12-25 Thread Saju M
Hi, I am facing an issue while decoding json string using json.loads(jstring). Its working, if i do json.dumps(eval(jstring)) before json.loads(jstring). I could not figure out the issue. I want to avoide use of "eval" here. * Failing without json.dumps(eval(jstring)) ##