Rein Petersen
unread,Feb 10, 2009, 4:23:28 AM2/10/09Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Google App Engine
what is wrong with this:
from django.utils import simplejson
...
obj = simplejson.loads("{'id':'KS1-0','type':'activity','units':
1,'priceper':450}")
self.response.out.write("<p>" + obj.type + "</p>");
I get the error:
File "C:\Program Files\Google\google_appengine\lib\django\django\utils
\simplejson\decoder.py", line 127, in JSONObject
raise ValueError(errmsg("Expecting property name", s, end))
ValueError: Expecting property name: line 1 column 1 (char 1)
What am I not understanding? Maybe my eyes are tired...
Thanks in advance :)