This project has moved. For the latest updates, please go here.

Use JSON Schema validation with a JSON array

Feb 23, 2013 at 11:40 PM
I see how to parse in a single object to JObject and then validate against schema. But when my JSON file will contain an array (small, simple) and I'd like to schema validate each object before deserializing to a strongly typed object (Collection), how can I do that?

I can parse into JArray but then I'm stuck with how to extract each single object and schema validate.