Re: [web2py] customize json output

2010-12-29 Thread Branko Vukelić
On Wed, Dec 29, 2010 at 3:38 PM, bova wrote: > Hello! > > I'm using web2py with jquery and jquery.flot plugin > > Tell me please how can I get json output like following: >  [ { label: "Foo", data: [ [10, 1], [17, -14], [30, 5] ] }, >    { label: "Bar", data: [ [11, 13], [19, 11], [30, -7] ] } ] >

[web2py] customize json output

2010-12-29 Thread bova
Hello! I'm using web2py with jquery and jquery.flot plugin Tell me please how can I get json output like following: [ { label: "Foo", data: [ [10, 1], [17, -14], [30, 5] ] }, { label: "Bar", data: [ [11, 13], [19, 11], [30, -7] ] } ]