On Mon, Dec 1, 2008 at 7:33 PM, Cassiano Aquino (chaosmaker)
<[EMAIL PROTECTED]> wrote:
> I'm using simplejson too but I need to serialize as xml or json and the
> pyxslt serializer for some reason refuses to serialize one iterbetter
> converted to list

Entries in iterbetter are web.Storage objects.
do the following to get a json serializable object from iterbetter object:

result = [dict(x) for x in result]

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"web.py" 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/webpy?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to