Re: want to convert object to json data.

2010-02-09 Thread bruno desthuilliers
On Feb 9, 10:40 am, chiranjeevi muttoju wrote: > hi waine, > Thanks for ur reply. i got that. is there is any way to parse regular class > objects(not model objects) to json data.. As documented, Django's json serialization is done using a bundled version of simplejson, which is documented here:

Re: want to convert object to json data.

2010-02-09 Thread chiranjeevi muttoju
hi waine, Thanks for ur reply. i got that. is there is any way to parse regular class objects(not model objects) to json data.. if u know please reply. On Tue, Feb 9, 2010 at 12:17 PM, Wayne Koorts wrote: > > I want to convert a given regular object to json object. i.e. I want > > to create a fu

Re: want to convert object to json data.

2010-02-08 Thread Wayne Koorts
> I want to convert a given regular object to json object. i.e. I want > to create a function which takes the class object as parameter and it > should return the json object. Have a look at the built-in Django "serializers" module: http://docs.djangoproject.com/en/dev/topics/serialization/#topic

want to convert object to json data.

2010-02-08 Thread chiranjeevi.muttoju
Hi all, I want to convert a given regular object to json object. i.e. I want to create a function which takes the class object as parameter and it should return the json object. If anybody know please help me how to approach to get this. Thanks and regards, --chiranjeevi -- You received this mes