Well, you'd look at using a client side templating library. Sane people use mustache or handlebars, I prefer Jqote2.
On Thursday, April 3, 2014 5:38:22 PM UTC-7, Ramesh Aj wrote: > > I am reading data from remote machine and converting it into dictionary > format > like > {IP: [192.111.111.111, 222.222.222.222, 333.333.333.333], "MAC": > [aa:aa:aa:aa, bb:bb:bb:bb, cc:cc:cc:cc], "conn": [wireless, wireless, > wireless]} > > I am sending this dictionary to view which is index.html where I am > dumping this as json.dumps(mydict) > > Now, I want to take this json data and format in a specific way so that I > can display on html page (index.html) > > How would I do that ? Can I write jquery in index.html(view) or how would > I read json data and print it in proper readable format ? > > Thanks ! > -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web2py/web2py (Source code) - https://code.google.com/p/web2py/issues/list (Report Issues) --- You received this message because you are subscribed to the Google Groups "web2py-users" group. To unsubscribe from this group and stop receiving emails from it, send an email to web2py+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.