Comment by [email protected]:

There are some mistakes in the sample code:

{{{
void setName(String name):
//should be
void setName(String name);

AutoBean<Person> bean = AutoBeanCodex.decode(myFactory, Person.class, json);
//should be
 AutoBean<Person> bean = AutoBeanCodex.decode(factory, Person.class, json);
}}}

Would have been nice to have a full basic working sample, rather than some code made up in a text editor...

For more information:
http://code.google.com/p/google-web-toolkit/wiki/AutoBean

--
http://groups.google.com/group/Google-Web-Toolkit-Contributors

Reply via email to