Hello,
I try to deserialize Json.
----------------------------------------------------------------------------------------------
data = request.POST['configuration']
print data
for obj in serializers.deserialize("json", data):
print obj
----------------------------------------------------------------------------------------------
print data ===>
{"elements":[],"startpos":{"left":0,"top":0},"masksize":{"width":
920,"height":200},"backgroundimage":"/htdocs/gfx/aa.jpg"}
But there is an error at for.
Any ideas?
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Django users" 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/django-users?hl=en
-~----------~----~----~----~------~----~------~--~---