title: How do I validate incoming JSON data inside a REST service?
body: <p>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.</p>
  
  <p>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.</p>
  
  <p>I also tried the <a href="http://jsontools.berlios.de/" rel="noreferrer">JsonTools</a> framework which obviously comes up with such a validation functionality. But unfortunately it wasn't possible for me to get the validation to work. <a href="https://stackoverflow.com/q/18143650/1817029">Why JsonTool schema validation isn't working?</a></p>
  
  <p>How can I do such a validation?</p>