Monday, June 7, 2010

Re: deserialize object using simplejson

On Jun 7, 8:53 pm, nissu <genis.pu...@gmail.com> wrote:
> Hello list,
>
> I'm looking for info on how to deserialize something like this:
>
> {
>     "pk": 1,
>     "model": "store.book",
>     "fields": {
>         "name": "Mostly Harmless",
>         "author": ["Douglas", "Adams"]
>     }
>
> into a django object
>
> Any help will be appreciated :)
>
> regards,
>
> Genis

Did you try looking in the documentation under 'serialization'?
http://docs.djangoproject.com/en/1.2/topics/serialization/
--
DR.

--
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+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/django-users?hl=en.

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home


Real Estate