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:
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
> 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
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
4 matches
Mail list logo