- I have a DTO which maps to the data coming in via a JSON request through a REST webservice.
- Also have a json schema according to which the client creates and sends the request.
- I know how to implement custom validators and error handlers for an incoming xml request using both schema based and bean-validation. Trying to find something similar for json requests. Never worked with JSON before this.
Any pointers on how to start writing customized validators/error handlers for a json request