Thank you Jérôme.
We've used JsonBuilder and JsonSlurpers (Groovy), and everything goes fine!
2012/7/24 Jerome Velociter <jerome(a)winesquare.net>et>:
  Hi,
 On Mon, Jul 23, 2012 at 2:11 PM, Nicolas Sanitas
 <nicolas.sanitas(a)intech.lu>wrote;wrote:
  Hi there,
 we have to parse and generate JSON in our code; we wonder wich is the
 bast way/language (Velocity or Groovy) to do that in XWiki?
 
 There is a JSON tool in velocity to do the serializing part :
https://raw.github.com/xwiki/xwiki-commons/master/xwiki-commons-core/xwiki-…
 You could propose a patch to add simple Map parsing based on net.sf.json.
 In groovy, you have the native JsonBuilder and JsonSlurpers to perform this
 kind of things.
 Cheers,
 Jerome
  Thx by advance,
 Nicolas
 _______________________________________________
 users mailing list
 users(a)xwiki.org
 
http://lists.xwiki.org/mailman/listinfo/users
 
 --
 Jérôme Velociter
 Winesquare
 
http://www.winesquare.net/
 _______________________________________________
 users mailing list
 users(a)xwiki.org
 
http://lists.xwiki.org/mailman/listinfo/users