i want convert String array and Object array into JSON directly.
is there any wrapper to do it
i need
class ClassName
{
public String name;
public String address;
public Integer phone;
}
public class Index implements EntryPoint {
ClassName obj = new ClassName();
// now i want to jsonize obj
// how can it be done.
// and also
ArrayList a = new ArrayList();
a.add("roc");
a.add("monday");
// now i again want to jsonize this arraylist
}
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Google Web Toolkit" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/Google-Web-Toolkit?hl=en
-~----------~----~----~----~------~----~------~--~---