Im using the Django deserialization method shown here: http://docs.djangoproject.com/en/dev/topics/serialization/
It goes something like: " ... gantt_data = request.POST.get('ganttdata') for obj in serializers.deserialize("json", gantt_data): <loop logic here> ... " On Sep 2, 10:41 am, Andrew McGregor <a...@txm.net> wrote: > > I would like to parse it so that I can loop over the pairs/arrays to > > access the data. When I try to deserialize the data, I get the django > > error "string indices must be integers". Can anybody please help me > > determine what exactly this means and how I may fix this? Is there > > another method I should be using? I am obviously a bit of a newbie at > > this so any help would be greatly appreciated. > > Are you manually deserialising the data? > > http://pypi.python.org/pypi/simplejson/ > > -- > Andrew McGregor > 07940 22 33 11 --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-users@googlegroups.com To unsubscribe from this group, send email to django-users+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/django-users?hl=en -~----------~----~----~----~------~----~------~--~---