Hello. I was wondering if it is possible to deserialize subclasses in the REST DSL, either with the JSON binding method, or with JSON unmarshaling. I have an interface, and messages that are posted to an endpoint should all deserialize/unmarshal to implementations of this interface. Then, I would like to process valid requests, or return a bad request error if a request is bad or unrecognized.
Thanks, Steve