Skip to content

SampleJsonSchemaGenerator

Rico Suter edited this page May 20, 2019 · 5 revisions
  • Package: NJsonSchema

The SampleJsonSchemaGenerator generates a JSON Schema from sample JSON data.

var schema = JsonSchema.FromSampleJson("...");
var schemaJson = schema.ToJson();

... or create a SampleJsonSchemaGenerator instance and call the Generate("...") method.

You can’t perform that action at this time.