How do I validate incoming JSON data inside a REST service?
A rest service needs to validate all incoming json data against a json schema. The json schemas are public accessible and can be retrieved via http requests. I'm using the jackson-framwork for marshaling and unmarshaling between java and json. So far I couldn't find any possibility to validate the data against the schema by using jackson. I also tried the JsonTools framework which obviously comes up with such a validation functionality. But unfortunately it wasn't possible for me to get the validation to work. Why JsonTool schema validation isn't working? How can I do such a validation? I