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 :)
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Google App Engine" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/google-appengine?hl=en
-~----------~----~----~----~------~----~------~--~---