Parse json with gwt 2.0

Viewed 13049

i'm trying to parse JSON coming from a flow in my gwt 2.0 application.

What is the best way ? Should I use javascriptobject ? JSonParser ? I'm lost with what I'm founding on the web because there's never the gwt version.

String text = "{\"item\":[{\"Id\":\"1\",\"Name\":\"Bob\"},{\"Id\":\"2\",\"Name\":\"John\"},{\"Id\":\"3\",\"Name\":\"Bill\"}]}";

How can I play with my list of items ?

Thanks in advance for any help

1 Answers
Related