Re: Struts2 with rest-plugin: Map JSON value to ENUM

2012-10-17 Thread Lukasz Lenart
2012/10/12 Shaun Lim : > I'm using Struts2 with the rest-plugin to build a RESTful web services. > Serializing from Java objects to JSON was a breeze - everything mapped > correctly and beautifully. Receiving JSON and attempting to map it to Java > objects is a whole different issue. > > I ran into

Struts2 with rest-plugin: Map JSON value to ENUM

2012-10-11 Thread Shaun Lim
Hello all, I'm using Struts2 with the rest-plugin to build a RESTful web services. Serializing from Java objects to JSON was a breeze - everything mapped correctly and beautifully. Receiving JSON and attempting to map it to Java objects is a whole different issue. I ran into 2 problems: 1) Could