-Marked old JsonSchema implementation as obsolete

This commit is contained in:
James Newton-King
2014-12-29 12:15:18 +13:00
parent a2e15adf80
commit c714bae747
59 changed files with 610 additions and 108 deletions
+5 -9
View File
@@ -16,16 +16,12 @@
<alert class="caution">
<para>
The JSON Schema standard isn't final.
Json.NET implements
<externalLink>
<linkText>JSON Schema Draft 3</linkText>
<linkUri>https://tools.ietf.org/html/draft-zyp-json-schema-03</linkUri>
JSON Schema validation has been moved to its own package. See <externalLink>
<linkText>http://www.newtonsoft.com</linkText>
<linkUri>http://www.newtonsoft.com</linkUri>
<linkTarget>_blank</linkTarget>
</externalLink>.
There will be breaking changes to some parts of Json.NET's JSON Schema API when it is updated to implement newer drafts of JSON Schema.
</externalLink>
for more details.
</para>
</alert>
@@ -5,6 +5,16 @@
<para>This sample creates a new <codeEntityReference>T:Newtonsoft.Json.Schema.JsonSchema</codeEntityReference>
instance manually in code.</para>
</introduction>
<alert class="caution">
<para>
JSON Schema validation has been moved to its own package. See <externalLink>
<linkText>http://www.newtonsoft.com</linkText>
<linkUri>http://www.newtonsoft.com</linkUri>
<linkTarget>_blank</linkTarget>
</externalLink>
for more details.
</para>
</alert>
<section>
<title>Sample</title>
<content>
+10
View File
@@ -6,6 +6,16 @@
using the <codeEntityReference>M:Newtonsoft.Json.Schema.Extensions.IsValid(Newtonsoft.Json.Linq.JToken,Newtonsoft.Json.Schema.JsonSchema)</codeEntityReference>
extension method.</para>
</introduction>
<alert class="caution">
<para>
JSON Schema validation has been moved to its own package. See <externalLink>
<linkText>http://www.newtonsoft.com</linkText>
<linkUri>http://www.newtonsoft.com</linkUri>
<linkTarget>_blank</linkTarget>
</externalLink>
for more details.
</para>
</alert>
<section>
<title>Sample</title>
<content>
@@ -6,6 +6,16 @@
using the <codeEntityReference>M:Newtonsoft.Json.Schema.Extensions.IsValid(Newtonsoft.Json.Linq.JToken,Newtonsoft.Json.Schema.JsonSchema)</codeEntityReference>
extension method and returns error messages.</para>
</introduction>
<alert class="caution">
<para>
JSON Schema validation has been moved to its own package. See <externalLink>
<linkText>http://www.newtonsoft.com</linkText>
<linkUri>http://www.newtonsoft.com</linkUri>
<linkTarget>_blank</linkTarget>
</externalLink>
for more details.
</para>
</alert>
<section>
<title>Sample</title>
<content>
@@ -6,6 +6,16 @@
using the <codeEntityReference>M:Newtonsoft.Json.Schema.Extensions.IsValid(Newtonsoft.Json.Linq.JToken,Newtonsoft.Json.Schema.JsonSchema)</codeEntityReference>
extension method and raises an event for each validation error.</para>
</introduction>
<alert class="caution">
<para>
JSON Schema validation has been moved to its own package. See <externalLink>
<linkText>http://www.newtonsoft.com</linkText>
<linkUri>http://www.newtonsoft.com</linkUri>
<linkTarget>_blank</linkTarget>
</externalLink>
for more details.
</para>
</alert>
<section>
<title>Sample</title>
<content>
+10
View File
@@ -5,6 +5,16 @@
<para>This sample parses a <codeEntityReference>T:Newtonsoft.Json.Schema.JsonSchema</codeEntityReference>
from JSON</para>
</introduction>
<alert class="caution">
<para>
JSON Schema validation has been moved to its own package. See <externalLink>
<linkText>http://www.newtonsoft.com</linkText>
<linkUri>http://www.newtonsoft.com</linkUri>
<linkTarget>_blank</linkTarget>
</externalLink>
for more details.
</para>
</alert>
<section>
<title>Sample</title>
<content>
@@ -5,6 +5,16 @@
<para>This sample validates JSON while deserializing an object using
<codeEntityReference>T:Newtonsoft.Json.JsonValidatingReader</codeEntityReference>.</para>
</introduction>
<alert class="caution">
<para>
JSON Schema validation has been moved to its own package. See <externalLink>
<linkText>http://www.newtonsoft.com</linkText>
<linkUri>http://www.newtonsoft.com</linkUri>
<linkTarget>_blank</linkTarget>
</externalLink>
for more details.
</para>
</alert>
<section>
<title>Sample</title>
<content>
@@ -5,6 +5,16 @@
<para>This sample loads a <codeEntityReference>T:Newtonsoft.Json.Schema.JsonSchema</codeEntityReference>
from a file.</para>
</introduction>
<alert class="caution">
<para>
JSON Schema validation has been moved to its own package. See <externalLink>
<linkText>http://www.newtonsoft.com</linkText>
<linkUri>http://www.newtonsoft.com</linkUri>
<linkTarget>_blank</linkTarget>
</externalLink>
for more details.
</para>
</alert>
<section>
<title>Sample</title>
<content>
@@ -5,6 +5,16 @@
<para>This sample uses a <codeEntityReference>T:Newtonsoft.Json.Schema.JsonSchemaResolver</codeEntityReference>
to resolve schema references from different JSON documents.</para>
</introduction>
<alert class="caution">
<para>
JSON Schema validation has been moved to its own package. See <externalLink>
<linkText>http://www.newtonsoft.com</linkText>
<linkUri>http://www.newtonsoft.com</linkUri>
<linkTarget>_blank</linkTarget>
</externalLink>
for more details.
</para>
</alert>
<section>
<title>Sample</title>
<content>
@@ -5,6 +5,16 @@
<para>This sample saves a <codeEntityReference>T:Newtonsoft.Json.Schema.JsonSchema</codeEntityReference>
to a file.</para>
</introduction>
<alert class="caution">
<para>
JSON Schema validation has been moved to its own package. See <externalLink>
<linkText>http://www.newtonsoft.com</linkText>
<linkUri>http://www.newtonsoft.com</linkUri>
<linkTarget>_blank</linkTarget>
</externalLink>
for more details.
</para>
</alert>
<section>
<title>Sample</title>
<content>
+3 -3
View File
@@ -29,7 +29,7 @@
<Topic id="ConvertingJSONandXML" visible="True" title="Converting between JSON and XML" />
<Topic id="JsonNetVsDotNetSerializers" visible="True" title="Json.NET vs .NET Serializers" />
<Topic id="JsonNetVsWindowsDataJson" visible="True" title="Json.NET vs Windows.Data.Json" />
<Topic id="Samples" visible="True" isExpanded="true" title="Samples">
<Topic id="Samples" visible="True" isExpanded="true" isSelected="true" title="Samples">
<Topic id="d6e185d5-c992-44fc-8d8f-d9acc2bbec2f" visible="True" noFile="true" title="Serializing JSON">
<Topic id="SerializeObject" visible="True" title="Serialize an Object" />
<Topic id="SerializeCollection" visible="True" title="Serialize a Collection" />
@@ -138,10 +138,10 @@
<Topic id="DeserializeFromBson" visible="True" title="Deserialize from BSON" />
<Topic id="DeserializeFromBsonCollection" visible="True" title="Deserialize a Collection from BSON" />
</Topic>
<Topic id="ca145ed0-f377-4f1c-9479-d1629082fc6e" visible="True" noFile="true" isExpanded="true" title="Reading and Writing JSON">
<Topic id="ca145ed0-f377-4f1c-9479-d1629082fc6e" visible="True" noFile="true" title="Reading and Writing JSON">
<Topic id="ReadJsonWithJsonTextReader" visible="True" title="Read JSON with JsonTextReader" />
<Topic id="WriteJsonWithJsonTextWriter" visible="True" title="Write JSON with JsonTextWriter" />
<Topic id="CustomJsonReader" visible="True" isSelected="true" title="Custom JsonReader" />
<Topic id="CustomJsonReader" visible="True" title="Custom JsonReader" />
<Topic id="CustomJsonWriter" visible="True" title="Custom JsonWriter" />
</Topic>
</Topic>
+7 -7
View File
@@ -20,7 +20,7 @@
<ProjectSummary>
</ProjectSummary>
<MissingTags>Summary, Parameter, Returns, AutoDocumentCtors, Namespace, TypeParameter, AutoDocumentDispose</MissingTags>
<VisibleItems>InheritedMembers, InheritedFrameworkMembers, Protected, SealedProtected</VisibleItems>
<VisibleItems>InheritedMembers, InheritedFrameworkMembers, Protected, SealedProtected, ProtectedInternalAsProtected</VisibleItems>
<HtmlHelp1xCompilerPath>
</HtmlHelp1xCompilerPath>
<HtmlHelp2xCompilerPath>
@@ -57,12 +57,12 @@
<ComponentConfigurations>
<ComponentConfig id="Code Block Component" enabled="True">
<component id="Code Block Component" type="SandcastleBuilder.Components.CodeBlockComponent" assembly="{@SHFBFolder}SandcastleBuilder.Components.dll">
<basePath value="{@HtmlEncProjectFolder}" />
<outputPaths>{@HelpFormatOutputPaths}</outputPaths>
<allowMissingSource value="false" />
<removeRegionMarkers value="false" />
<colorizer syntaxFile="{@SHFBFolder}PresentationStyles\Colorizer\highlight.xml" styleFile="{@SHFBFolder}PresentationStyles\Colorizer\highlight.xsl" stylesheet="{@SHFBFolder}PresentationStyles\Colorizer\highlight.css" scriptFile="{@SHFBFolder}PresentationStyles\Colorizer\highlight.js" disabled="{@DisableCodeBlockComponent}" language="cs" tabSize="0" numberLines="true" outlining="false" keepSeeTags="false" defaultTitle="true" />
</component>
<basePath value="{@HtmlEncProjectFolder}" />
<outputPaths>{@HelpFormatOutputPaths}</outputPaths>
<allowMissingSource value="false" />
<removeRegionMarkers value="false" />
<colorizer syntaxFile="{@SHFBFolder}PresentationStyles\Colorizer\highlight.xml" styleFile="{@SHFBFolder}PresentationStyles\Colorizer\highlight.xsl" stylesheet="{@SHFBFolder}PresentationStyles\Colorizer\highlight.css" scriptFile="{@SHFBFolder}PresentationStyles\Colorizer\highlight.js" disabled="{@DisableCodeBlockComponent}" language="cs" tabSize="0" numberLines="true" outlining="false" keepSeeTags="false" defaultTitle="true" />
</component>
</ComponentConfig>
</ComponentConfigurations>
<IndentHtml>False</IndentHtml>