def index(): from simplejson import loads, dumps data = loads(request.vars.myvar) return dumps(data)
On Saturday, 7 July 2012 00:47:32 UTC-5, Akash Kakkar wrote: > > Hi, > > I want to send string content (html) from client to server using JSON and > then decode the JSON to string in python controller, Can somebody help me > with the syntax. > > Thanks > Akash >