I'm writing some acceptance tests for a java webapp that returns JSON objects. I would like to verify that the JSON returned validates against a schema. Can anyone suggest any tools for this?
+2
A:
The JSON Tools project includes a tool to validate the contents of a JSON file using a JSON schema.
An alternative could be to validate running the (JavaScript) JSON Schema Validator using Rhino.
Simon Lieschke
2010-03-23 10:55:02