Unfortunately there is a subtle difference between the output of repr/str and JSON. Python by default uses single quotes while JSON needs the double ones. If there are no strings in the dict though, str/repr would work all fine.
- [web2py] customize json output bova
- Re: [web2py] customize json output Branko Vukelić
- [web2py] Re: customize json output DenesL
- [web2py] Re: customize json output mdipierro
- Re: [web2py] Re: customize json output Branko Vukelić
- [web2py] Re: customize json output mdipierro
- [web2py] Re: customize json output Wikus van de Merwe
- Re: [web2py] Re: customize json output Michele Comitini