25 lines
1.0 KiB
XML
25 lines
1.0 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<topic id="LoadJsonSchemaFromFile" revisionNumber="1">
|
|
<developerConceptualDocument xmlns="http://ddue.schemas.microsoft.com/authoring/2003/5" xmlns:xlink="http://www.w3.org/1999/xlink">
|
|
<introduction>
|
|
<para>This sample loads a <codeEntityReference>T:Newtonsoft.Json.Schema.JsonSchema</codeEntityReference>
|
|
from a file.</para>
|
|
</introduction>
|
|
<alert class="caution">
|
|
<para>
|
|
<legacyBold>Obsolete.</legacyBold> JSON Schema validation has been moved to its own package. See <externalLink>
|
|
<linkText>https://www.newtonsoft.com/jsonschema</linkText>
|
|
<linkUri>https://www.newtonsoft.com/jsonschema</linkUri>
|
|
<linkTarget>_blank</linkTarget>
|
|
</externalLink>
|
|
for more details.
|
|
</para>
|
|
</alert>
|
|
<section>
|
|
<title>Sample</title>
|
|
<content>
|
|
<code lang="cs" source="..\Src\Newtonsoft.Json.Tests\Documentation\Samples\Schema\LoadJsonSchemaFromFile.cs" region="Usage" title="Usage" />
|
|
</content>
|
|
</section>
|
|
</developerConceptualDocument>
|
|
</topic> |