Validate JSON against a schema in .Net
10,081
Solution 1
Json.NET has this functionality.
Solution 2
A free and open-source alternative to Json.NET is NJsonSchema (JSON Schema draft 4).
Author by
AwkwardCoder
Updated on June 20, 2022Comments
-
AwkwardCoder almost 2 years
I know there is a proposed standard for JSON schema validation, is there an implementation in .Net?
-
Michael Freidgeim over 5 yearsJSON Schema validation has been moved to its own package. See newtonsoft.com/jsonschema
-
Kevbot about 5 yearsAnd it's not free
-
timelmer about 4 yearsIt is, there's a free (albeit somewhat limited - 1k validations/hr) version under the AGPL.