关于[Using .NET To Validate JSON with JSON Schema]的摘要:
JSON is arguably one of the most used data formats on the planet, likely due to its flexibility and human readability. We can also recognize that its two greatest strengths can also be the format’s weakness. Being human-readable gives developers the confidence to make manual changes, likely making errors along the way. The flexibility of parsers tends to let these structural errors exist in production settings longer than they should. Luckily for .NET developers, we have mechanisms to programmatically check the validity of JSON to ensure some level of correctness. We’ll see how to read JSON and check it against its schema definition.