Are objects suitable for JSON deserialization in the model jar for archetype projects?

asked 2014-06-19 14:35:39 -0700

CobyS gravatar image

updated 2014-06-19 14:37:29 -0700

I have generated a simple MD-Sal application using the archetype application. The generated code for the web project(specifically a .jsp) contains code that posts a JSON file back to a controller. Is there a class in the auto-generated model jar that is suitable for deserializing the JSON(using Spring annotations) or do I have to create my own deserialization object. The reason I ask is because the structure of the JSON looks very similar to classes that exist in the model.

edit retag flag offensive close merge delete