On Feb 15, 12:05 pm, aldous99 <[EMAIL PROTECTED]> wrote:
> I'm working with the 0.96 release and I'm using json serialization.
>
> Django models serialize just fine, but now I'm interested in
> serializing non-model objects and attempts have produced "json can't
> serialize" errors.
You could use just the raw JSON encoder included in Django
(django.utils.simplejson):
See the inline docs here for example usage:
http://code.djangoproject.com/browser/django/tags/releases/0.96.1/django/utils/simplejson/__init__.py
-Rajesh D
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---