Hi all,

With Django, what is the easy and best way to serialize/deserialize
objects that are no Django objects?

django.core.serializers only works with Django objects. But what
happens if we have other object type?

How to serialize this:

class MyClass(object):
    a = 'a'
    b = 'b'

----

xml = serialization.serialize("xml",MyClass())

Tnxs

--~--~---------~--~----~------------~-------~--~----~
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 [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to