RicoSuter / NJsonSchema

JSON Schema reader, generator and validator for .NET
http://NJsonSchema.org
MIT License
1.4k stars 535 forks source link

Look into relative JSON references/pointers #1032

Open RicoSuter opened 5 years ago

SirNoName2705 commented 1 month ago

I would need relative Json pointers to work, especially with local paths. Is there any progress on that?

I will try to implement it.

SirNoName2705 commented 1 month ago

Ok, it seems that this is already implemented. But one has to use: JsonSchema.FromFileAsync(SchemaFilePath) In contrast this would not work: JsonSchema.FromJsonAsync(File.ReadAllText(SchemaFilePath));

As it does not resolve the relative references.