I don't think JSON would bring any benefit, and it could cause a number of security issues.
http://directwebremoting.org/blog/joe/2007/03/05/json_is_not_as_safe_as_people_think_it_is.html On Mon, Jan 9, 2012 at 12:22 PM, Martin Grigorov <[email protected]> wrote: > Hi, > > Are we interested in reworking AjaxRequestTarget to produce JSON > response instead of XML ? > Do you see any advantages in this except a bit shorter response ? > > Currently wicket-ajax.js uses DOMParser to create the XML document in > 1.5 and jQuery creates the document for us in 6.0. > I'm not sure whether there is any performance benefit in JSON parsing > at the client side... > > -- > Martin Grigorov > jWeekend > Training, Consulting, Development > http://jWeekend.com
