Fork us on GitHub

JSON To Pojo Mapping

While the webservice wizard in Codename One is pretty useful ...

JSON To Pojo Mapping

Picture
While the webservice wizard in Codename One is pretty useful for many things it still requires a proxy and Servlet container which might not be the right choice for everyone. Steve Hannah, created a pretty cool set of tools to map POJO's (plain old Java objects) to JSON structures by using compile time object mapping. This eliminates the costs/issues of reflection while still delivering a programming experience that is on par with the one we get from Java SE webservice mappings.

Steve wrote a pretty thorough tutorial on this as well as a webcast posted below.

Notice: This post was automatically converted using a script from an older blogging system. Some elements might not have come out as intended.... If that is the case please let us know via the comments section below.

Share this Post:

Posted by Shai Almog

Shai is the co-founder of Codename One. He's been a professional programmer for over 25 years. During that time he has worked with dozens of companies including Sun Microsystems.
For more follow Shai on Twitter & github.