Quantcast
Channel: sshnet Discussions Rss Feed
Viewing all articles
Browse latest Browse all 1729

New Post: Use JSON Schema validation with a JSON array

$
0
0
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.

Viewing all articles
Browse latest Browse all 1729

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>