This project has moved and is read-only. For the latest updates, please go here.

Use JSON Schema validation with a JSON array

Feb 24, 2013 at 12:40 AM
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.