I too have used the code at json.org, but this looks like a nice extension
of that. Thanks for pointing it out Nuwan!
Frank
--
Frank W. Zammetti
Founder and Chief Software Architect
Omnytex Technologies
http://www.omnytex.com
AIM/Yahoo: fzammetti
MSN: [EMAIL PROTECTED]
Author of "Practical Aja
Hi Priya,
Struts 1.x doesn't natively understand JSON as either input or output.
That doesn't stop you from doing it yourself though.
The output side is easy: just generate it, either in an Action (probably
not a great idea) or in a JSP (preferred). For instance, here's a JSP
from a prod app I
Hi,
I use JSON Lib project hosted in http://json-lib.sourceforge.net/ and
convert my beans and list to json string, and then write it to the response
and return null from the action class., after that its ajax in my page.
eg. code in my action class.
JSONArray jsonOrderArray = JSONArray.fro
3 matches
Mail list logo