A sample project to show how to handle polymorphism while using json. Project uses Jackson JSON Processor.
Note: Uses Jetty plug in to do a system test. The usage of web.xml is redundant but Jetty plugin in Gradle needs it to recognize the endpoints.