HTTPs all the things (#1710)
This commit is contained in:
+2
-2
@@ -14,7 +14,7 @@
|
||||
$workingName = if ($workingName) {$workingName} else {"Working"}
|
||||
$netCliChannel = "2.0"
|
||||
$netCliVersion = "2.1.4"
|
||||
$nugetUrl = "http://dist.nuget.org/win-x86-commandline/latest/nuget.exe"
|
||||
$nugetUrl = "https://dist.nuget.org/win-x86-commandline/latest/nuget.exe"
|
||||
|
||||
$baseDir = resolve-path ..
|
||||
$buildDir = "$baseDir\Build"
|
||||
@@ -135,7 +135,7 @@ task Package -depends Build {
|
||||
Write-Host -ForegroundColor Green "Building documentation from $documentationSourcePath"
|
||||
Write-Host "Documentation output to $docOutputPath"
|
||||
|
||||
# Sandcastle has issues when compiling with .NET 4 MSBuild - http://shfb.codeplex.com/Thread/View.aspx?ThreadId=50652
|
||||
# Sandcastle has issues when compiling with .NET 4 MSBuild
|
||||
exec { & $script:msBuildPath "/t:Clean;Rebuild" "/v:$msbuildVerbosity" "/p:Configuration=Release" "/p:DocumentationSourcePath=$documentationSourcePath" "/p:OutputPath=$docOutputPath" "/m" "$docDir\doc.shfbproj" | Out-Default } "Error building documentation. Check that you have Sandcastle, Sandcastle Help File Builder and HTML Help Workshop installed."
|
||||
|
||||
move -Path $workingDir\Documentation\LastBuild.log -Destination $workingDir\Documentation.log
|
||||
|
||||
+2
-2
@@ -86,8 +86,8 @@ FOR A PARTICULAR PURPOSE.
|
||||
|
||||
|
||||
[github]: https://github.com/JamesNK/Newtonsoft.Json
|
||||
[documentation]: http://james.newtonking.com/json/help/index.html
|
||||
[stackoverflow]: http://stackoverflow.com/questions/tagged/json.net
|
||||
[documentation]: https://www.newtonsoft.com/json/help
|
||||
[stackoverflow]: https://stackoverflow.com/questions/tagged/json.net
|
||||
[dropbox]: https://www.dropbox.com
|
||||
[gist]: https://gist.github.com
|
||||
[pullrequesthelp]: https://help.github.com/articles/using-pull-requests
|
||||
|
||||
+2
-2
@@ -17,8 +17,8 @@
|
||||
<alert class="caution">
|
||||
<para>
|
||||
<legacyBold>Obsolete.</legacyBold> JSON Schema validation has been moved to its own package. See <externalLink>
|
||||
<linkText>http://www.newtonsoft.com/jsonschema</linkText>
|
||||
<linkUri>http://www.newtonsoft.com/jsonschema</linkUri>
|
||||
<linkText>https://www.newtonsoft.com/jsonschema</linkText>
|
||||
<linkUri>https://www.newtonsoft.com/jsonschema</linkUri>
|
||||
<linkTarget>_blank</linkTarget>
|
||||
</externalLink>
|
||||
for more details.
|
||||
|
||||
@@ -17,8 +17,8 @@
|
||||
</listItem>
|
||||
<listItem>
|
||||
<para><legacyBold>JSON Schema</legacyBold> - Loading schemas and validating JSON. Note that JSON Schema validation has been moved to its own package. See <externalLink>
|
||||
<linkText>http://www.newtonsoft.com/jsonschema</linkText>
|
||||
<linkUri>http://www.newtonsoft.com/jsonschema</linkUri>
|
||||
<linkText>https://www.newtonsoft.com/jsonschema</linkText>
|
||||
<linkUri>https://www.newtonsoft.com/jsonschema</linkUri>
|
||||
<linkTarget>_blank</linkTarget>
|
||||
</externalLink>
|
||||
for more details.</para>
|
||||
|
||||
@@ -8,8 +8,8 @@
|
||||
<alert class="caution">
|
||||
<para>
|
||||
<legacyBold>Obsolete.</legacyBold> JSON Schema validation has been moved to its own package. See <externalLink>
|
||||
<linkText>http://www.newtonsoft.com/jsonschema</linkText>
|
||||
<linkUri>http://www.newtonsoft.com/jsonschema</linkUri>
|
||||
<linkText>https://www.newtonsoft.com/jsonschema</linkText>
|
||||
<linkUri>https://www.newtonsoft.com/jsonschema</linkUri>
|
||||
<linkTarget>_blank</linkTarget>
|
||||
</externalLink>
|
||||
for more details.
|
||||
|
||||
@@ -9,8 +9,8 @@
|
||||
<alert class="caution">
|
||||
<para>
|
||||
<legacyBold>Obsolete.</legacyBold> JSON Schema validation has been moved to its own package. See <externalLink>
|
||||
<linkText>http://www.newtonsoft.com/jsonschema</linkText>
|
||||
<linkUri>http://www.newtonsoft.com/jsonschema</linkUri>
|
||||
<linkText>https://www.newtonsoft.com/jsonschema</linkText>
|
||||
<linkUri>https://www.newtonsoft.com/jsonschema</linkUri>
|
||||
<linkTarget>_blank</linkTarget>
|
||||
</externalLink>
|
||||
for more details.
|
||||
|
||||
@@ -9,8 +9,8 @@
|
||||
<alert class="caution">
|
||||
<para>
|
||||
<legacyBold>Obsolete.</legacyBold> JSON Schema validation has been moved to its own package. See <externalLink>
|
||||
<linkText>http://www.newtonsoft.com/jsonschema</linkText>
|
||||
<linkUri>http://www.newtonsoft.com/jsonschema</linkUri>
|
||||
<linkText>https://www.newtonsoft.com/jsonschema</linkText>
|
||||
<linkUri>https://www.newtonsoft.com/jsonschema</linkUri>
|
||||
<linkTarget>_blank</linkTarget>
|
||||
</externalLink>
|
||||
for more details.
|
||||
|
||||
@@ -9,8 +9,8 @@
|
||||
<alert class="caution">
|
||||
<para>
|
||||
<legacyBold>Obsolete.</legacyBold> JSON Schema validation has been moved to its own package. See <externalLink>
|
||||
<linkText>http://www.newtonsoft.com/jsonschema</linkText>
|
||||
<linkUri>http://www.newtonsoft.com/jsonschema</linkUri>
|
||||
<linkText>https://www.newtonsoft.com/jsonschema</linkText>
|
||||
<linkUri>https://www.newtonsoft.com/jsonschema</linkUri>
|
||||
<linkTarget>_blank</linkTarget>
|
||||
</externalLink>
|
||||
for more details.
|
||||
|
||||
@@ -8,8 +8,8 @@
|
||||
<alert class="caution">
|
||||
<para>
|
||||
<legacyBold>Obsolete.</legacyBold> JSON Schema validation has been moved to its own package. See <externalLink>
|
||||
<linkText>http://www.newtonsoft.com/jsonschema</linkText>
|
||||
<linkUri>http://www.newtonsoft.com/jsonschema</linkUri>
|
||||
<linkText>https://www.newtonsoft.com/jsonschema</linkText>
|
||||
<linkUri>https://www.newtonsoft.com/jsonschema</linkUri>
|
||||
<linkTarget>_blank</linkTarget>
|
||||
</externalLink>
|
||||
for more details.
|
||||
|
||||
@@ -8,8 +8,8 @@
|
||||
<alert class="caution">
|
||||
<para>
|
||||
<legacyBold>Obsolete.</legacyBold> JSON Schema validation has been moved to its own package. See <externalLink>
|
||||
<linkText>http://www.newtonsoft.com/jsonschema</linkText>
|
||||
<linkUri>http://www.newtonsoft.com/jsonschema</linkUri>
|
||||
<linkText>https://www.newtonsoft.com/jsonschema</linkText>
|
||||
<linkUri>https://www.newtonsoft.com/jsonschema</linkUri>
|
||||
<linkTarget>_blank</linkTarget>
|
||||
</externalLink>
|
||||
for more details.
|
||||
|
||||
@@ -8,8 +8,8 @@
|
||||
<alert class="caution">
|
||||
<para>
|
||||
<legacyBold>Obsolete.</legacyBold> JSON Schema validation has been moved to its own package. See <externalLink>
|
||||
<linkText>http://www.newtonsoft.com/jsonschema</linkText>
|
||||
<linkUri>http://www.newtonsoft.com/jsonschema</linkUri>
|
||||
<linkText>https://www.newtonsoft.com/jsonschema</linkText>
|
||||
<linkUri>https://www.newtonsoft.com/jsonschema</linkUri>
|
||||
<linkTarget>_blank</linkTarget>
|
||||
</externalLink>
|
||||
for more details.
|
||||
|
||||
@@ -8,8 +8,8 @@
|
||||
<alert class="caution">
|
||||
<para>
|
||||
<legacyBold>Obsolete.</legacyBold> JSON Schema validation has been moved to its own package. See <externalLink>
|
||||
<linkText>http://www.newtonsoft.com/jsonschema</linkText>
|
||||
<linkUri>http://www.newtonsoft.com/jsonschema</linkUri>
|
||||
<linkText>https://www.newtonsoft.com/jsonschema</linkText>
|
||||
<linkUri>https://www.newtonsoft.com/jsonschema</linkUri>
|
||||
<linkTarget>_blank</linkTarget>
|
||||
</externalLink>
|
||||
for more details.
|
||||
|
||||
@@ -8,8 +8,8 @@
|
||||
<alert class="caution">
|
||||
<para>
|
||||
<legacyBold>Obsolete.</legacyBold> JSON Schema validation has been moved to its own package. See <externalLink>
|
||||
<linkText>http://www.newtonsoft.com/jsonschema</linkText>
|
||||
<linkUri>http://www.newtonsoft.com/jsonschema</linkUri>
|
||||
<linkText>https://www.newtonsoft.com/jsonschema</linkText>
|
||||
<linkUri>https://www.newtonsoft.com/jsonschema</linkUri>
|
||||
<linkTarget>_blank</linkTarget>
|
||||
</externalLink>
|
||||
for more details.
|
||||
|
||||
+1
-1
@@ -48,7 +48,7 @@
|
||||
<NamespaceSummaryItem name="Newtonsoft.Json.Linq" isDocumented="True">The <b>Newtonsoft.Json.Linq</b> namespace provides classes that are used to implement LINQ to JSON.</NamespaceSummaryItem>
|
||||
<NamespaceSummaryItem name="Newtonsoft.Json.Linq.ComponentModel" isDocumented="True">The <b>Newtonsoft.Json.Linq.ComponentModel</b> namespace provides classes for LINQ to JSON databinding.</NamespaceSummaryItem>
|
||||
<NamespaceSummaryItem name="Newtonsoft.Json.Schema" isDocumented="True"><para>The <b>Newtonsoft.Json.Schema</b> namespace provides classes that are used to implement JSON schema.</para>
|
||||
<para><b>Obsolete.</b> JSON Schema validation has been moved to its own package. See <a href="http://www.newtonsoft.com/jsonschema">http://www.newtonsoft.com/jsonschema</a> for more details.</para></NamespaceSummaryItem>
|
||||
<para><b>Obsolete.</b> JSON Schema validation has been moved to its own package. See <a href="https://www.newtonsoft.com/jsonschema">https://www.newtonsoft.com/jsonschema</a> for more details.</para></NamespaceSummaryItem>
|
||||
<NamespaceSummaryItem name="Newtonsoft.Json.Serialization" isDocumented="True">The <b>Newtonsoft.Json.Linq</b> namespace provides classes that are used when serializing and deserializing JSON.</NamespaceSummaryItem>
|
||||
<NamespaceSummaryItem name="Newtonsoft.Json.Utilities" isDocumented="False" />
|
||||
<NamespaceSummaryItem name="Newtonsoft.Json.Bson" isDocumented="True">The <b>Newtonsoft.Json.Linq</b> namespace provides classes that are used to implement BSON.</NamespaceSummaryItem>
|
||||
|
||||
+2
-2
@@ -1,6 +1,6 @@
|
||||
Json.NET
|
||||
|
||||
http://www.newtonsoft.com/json
|
||||
https://www.newtonsoft.com/json
|
||||
https://github.com/JamesNK/Newtonsoft.Json
|
||||
|
||||
|
||||
@@ -18,7 +18,7 @@ Json.NET is a popular high-performance JSON framework for .NET
|
||||
|
||||
Documentation:
|
||||
|
||||
http://www.newtonsoft.com/json/help/
|
||||
https://www.newtonsoft.com/json/help/
|
||||
|
||||
|
||||
Versions:
|
||||
|
||||
+2
-2
@@ -2,8 +2,8 @@
|
||||
|
||||
If you have questions about how to use Json.NET, please read the Json.NET documentation or ask on Stack Overflow.
|
||||
|
||||
http://www.newtonsoft.com/json/help
|
||||
http://stackoverflow.com/questions/tagged/json.net
|
||||
https://www.newtonsoft.com/json/help
|
||||
https://stackoverflow.com/questions/tagged/json.net
|
||||
|
||||
There are thousands of Json.NET questions on Stack Overflow with the json.net tag.
|
||||
|
||||
|
||||
@@ -3,10 +3,10 @@
|
||||
[](https://www.nuget.org/packages/Newtonsoft.Json/)
|
||||
[](https://ci.appveyor.com/project/JamesNewtonKing/newtonsoft-json)
|
||||
|
||||
- [Homepage](http://www.newtonsoft.com/json)
|
||||
- [Documentation](http://www.newtonsoft.com/json/help)
|
||||
- [Homepage](https://www.newtonsoft.com/json)
|
||||
- [Documentation](https://www.newtonsoft.com/json/help)
|
||||
- [NuGet Package](https://www.nuget.org/packages/Newtonsoft.Json)
|
||||
- [Release Notes](https://github.com/JamesNK/Newtonsoft.Json/releases)
|
||||
- [Contributing Guidelines](CONTRIBUTING.md)
|
||||
- [License](LICENSE.md)
|
||||
- [Stack Overflow](http://stackoverflow.com/questions/tagged/json.net)
|
||||
- [Stack Overflow](https://stackoverflow.com/questions/tagged/json.net)
|
||||
|
||||
@@ -48,10 +48,10 @@ namespace Newtonsoft.Json
|
||||
/// Represents a reader that provides <see cref="JsonSchema"/> validation.
|
||||
/// </para>
|
||||
/// <note type="caution">
|
||||
/// JSON Schema validation has been moved to its own package. See <see href="http://www.newtonsoft.com/jsonschema">http://www.newtonsoft.com/jsonschema</see> for more details.
|
||||
/// JSON Schema validation has been moved to its own package. See <see href="https://www.newtonsoft.com/jsonschema">https://www.newtonsoft.com/jsonschema</see> for more details.
|
||||
/// </note>
|
||||
/// </summary>
|
||||
[Obsolete("JSON Schema validation has been moved to its own package. See http://www.newtonsoft.com/jsonschema for more details.")]
|
||||
[Obsolete("JSON Schema validation has been moved to its own package. See https://www.newtonsoft.com/jsonschema for more details.")]
|
||||
public class JsonValidatingReader : JsonReader, IJsonLineInfo
|
||||
{
|
||||
private class SchemaScope
|
||||
|
||||
@@ -35,10 +35,10 @@ namespace Newtonsoft.Json.Schema
|
||||
/// Contains the JSON schema extension methods.
|
||||
/// </para>
|
||||
/// <note type="caution">
|
||||
/// JSON Schema validation has been moved to its own package. See <see href="http://www.newtonsoft.com/jsonschema">http://www.newtonsoft.com/jsonschema</see> for more details.
|
||||
/// JSON Schema validation has been moved to its own package. See <see href="https://www.newtonsoft.com/jsonschema">https://www.newtonsoft.com/jsonschema</see> for more details.
|
||||
/// </note>
|
||||
/// </summary>
|
||||
[Obsolete("JSON Schema validation has been moved to its own package. See http://www.newtonsoft.com/jsonschema for more details.")]
|
||||
[Obsolete("JSON Schema validation has been moved to its own package. See https://www.newtonsoft.com/jsonschema for more details.")]
|
||||
public static class Extensions
|
||||
{
|
||||
/// <summary>
|
||||
@@ -46,7 +46,7 @@ namespace Newtonsoft.Json.Schema
|
||||
/// Determines whether the <see cref="JToken"/> is valid.
|
||||
/// </para>
|
||||
/// <note type="caution">
|
||||
/// JSON Schema validation has been moved to its own package. See <see href="http://www.newtonsoft.com/jsonschema">http://www.newtonsoft.com/jsonschema</see> for more details.
|
||||
/// JSON Schema validation has been moved to its own package. See <see href="https://www.newtonsoft.com/jsonschema">https://www.newtonsoft.com/jsonschema</see> for more details.
|
||||
/// </note>
|
||||
/// </summary>
|
||||
/// <param name="source">The source <see cref="JToken"/> to test.</param>
|
||||
@@ -54,7 +54,7 @@ namespace Newtonsoft.Json.Schema
|
||||
/// <returns>
|
||||
/// <c>true</c> if the specified <see cref="JToken"/> is valid; otherwise, <c>false</c>.
|
||||
/// </returns>
|
||||
[Obsolete("JSON Schema validation has been moved to its own package. See http://www.newtonsoft.com/jsonschema for more details.")]
|
||||
[Obsolete("JSON Schema validation has been moved to its own package. See https://www.newtonsoft.com/jsonschema for more details.")]
|
||||
public static bool IsValid(this JToken source, JsonSchema schema)
|
||||
{
|
||||
bool valid = true;
|
||||
@@ -67,7 +67,7 @@ namespace Newtonsoft.Json.Schema
|
||||
/// Determines whether the <see cref="JToken"/> is valid.
|
||||
/// </para>
|
||||
/// <note type="caution">
|
||||
/// JSON Schema validation has been moved to its own package. See <see href="http://www.newtonsoft.com/jsonschema">http://www.newtonsoft.com/jsonschema</see> for more details.
|
||||
/// JSON Schema validation has been moved to its own package. See <see href="https://www.newtonsoft.com/jsonschema">https://www.newtonsoft.com/jsonschema</see> for more details.
|
||||
/// </note>
|
||||
/// </summary>
|
||||
/// <param name="source">The source <see cref="JToken"/> to test.</param>
|
||||
@@ -76,7 +76,7 @@ namespace Newtonsoft.Json.Schema
|
||||
/// <returns>
|
||||
/// <c>true</c> if the specified <see cref="JToken"/> is valid; otherwise, <c>false</c>.
|
||||
/// </returns>
|
||||
[Obsolete("JSON Schema validation has been moved to its own package. See http://www.newtonsoft.com/jsonschema for more details.")]
|
||||
[Obsolete("JSON Schema validation has been moved to its own package. See https://www.newtonsoft.com/jsonschema for more details.")]
|
||||
public static bool IsValid(this JToken source, JsonSchema schema, out IList<string> errorMessages)
|
||||
{
|
||||
IList<string> errors = new List<string>();
|
||||
@@ -92,12 +92,12 @@ namespace Newtonsoft.Json.Schema
|
||||
/// Validates the specified <see cref="JToken"/>.
|
||||
/// </para>
|
||||
/// <note type="caution">
|
||||
/// JSON Schema validation has been moved to its own package. See <see href="http://www.newtonsoft.com/jsonschema">http://www.newtonsoft.com/jsonschema</see> for more details.
|
||||
/// JSON Schema validation has been moved to its own package. See <see href="https://www.newtonsoft.com/jsonschema">https://www.newtonsoft.com/jsonschema</see> for more details.
|
||||
/// </note>
|
||||
/// </summary>
|
||||
/// <param name="source">The source <see cref="JToken"/> to test.</param>
|
||||
/// <param name="schema">The schema to test with.</param>
|
||||
[Obsolete("JSON Schema validation has been moved to its own package. See http://www.newtonsoft.com/jsonschema for more details.")]
|
||||
[Obsolete("JSON Schema validation has been moved to its own package. See https://www.newtonsoft.com/jsonschema for more details.")]
|
||||
public static void Validate(this JToken source, JsonSchema schema)
|
||||
{
|
||||
source.Validate(schema, null);
|
||||
@@ -108,13 +108,13 @@ namespace Newtonsoft.Json.Schema
|
||||
/// Validates the specified <see cref="JToken"/>.
|
||||
/// </para>
|
||||
/// <note type="caution">
|
||||
/// JSON Schema validation has been moved to its own package. See <see href="http://www.newtonsoft.com/jsonschema">http://www.newtonsoft.com/jsonschema</see> for more details.
|
||||
/// JSON Schema validation has been moved to its own package. See <see href="https://www.newtonsoft.com/jsonschema">https://www.newtonsoft.com/jsonschema</see> for more details.
|
||||
/// </note>
|
||||
/// </summary>
|
||||
/// <param name="source">The source <see cref="JToken"/> to test.</param>
|
||||
/// <param name="schema">The schema to test with.</param>
|
||||
/// <param name="validationEventHandler">The validation event handler.</param>
|
||||
[Obsolete("JSON Schema validation has been moved to its own package. See http://www.newtonsoft.com/jsonschema for more details.")]
|
||||
[Obsolete("JSON Schema validation has been moved to its own package. See https://www.newtonsoft.com/jsonschema for more details.")]
|
||||
public static void Validate(this JToken source, JsonSchema schema, ValidationEventHandler validationEventHandler)
|
||||
{
|
||||
ValidationUtils.ArgumentNotNull(source, nameof(source));
|
||||
|
||||
@@ -37,10 +37,10 @@ namespace Newtonsoft.Json.Schema
|
||||
/// An in-memory representation of a JSON Schema.
|
||||
/// </para>
|
||||
/// <note type="caution">
|
||||
/// JSON Schema validation has been moved to its own package. See <see href="http://www.newtonsoft.com/jsonschema">http://www.newtonsoft.com/jsonschema</see> for more details.
|
||||
/// JSON Schema validation has been moved to its own package. See <see href="https://www.newtonsoft.com/jsonschema">https://www.newtonsoft.com/jsonschema</see> for more details.
|
||||
/// </note>
|
||||
/// </summary>
|
||||
[Obsolete("JSON Schema validation has been moved to its own package. See http://www.newtonsoft.com/jsonschema for more details.")]
|
||||
[Obsolete("JSON Schema validation has been moved to its own package. See https://www.newtonsoft.com/jsonschema for more details.")]
|
||||
public class JsonSchema
|
||||
{
|
||||
/// <summary>
|
||||
|
||||
@@ -37,7 +37,7 @@ using Newtonsoft.Json.Linq;
|
||||
|
||||
namespace Newtonsoft.Json.Schema
|
||||
{
|
||||
[Obsolete("JSON Schema validation has been moved to its own package. See http://www.newtonsoft.com/jsonschema for more details.")]
|
||||
[Obsolete("JSON Schema validation has been moved to its own package. See https://www.newtonsoft.com/jsonschema for more details.")]
|
||||
internal class JsonSchemaBuilder
|
||||
{
|
||||
private readonly IList<JsonSchema> _stack;
|
||||
|
||||
@@ -28,7 +28,7 @@ using System.Collections.Generic;
|
||||
|
||||
namespace Newtonsoft.Json.Schema
|
||||
{
|
||||
[Obsolete("JSON Schema validation has been moved to its own package. See http://www.newtonsoft.com/jsonschema for more details.")]
|
||||
[Obsolete("JSON Schema validation has been moved to its own package. See https://www.newtonsoft.com/jsonschema for more details.")]
|
||||
internal static class JsonSchemaConstants
|
||||
{
|
||||
public const string TypePropertyName = "type";
|
||||
|
||||
@@ -33,13 +33,13 @@ namespace Newtonsoft.Json.Schema
|
||||
/// Returns detailed information about the schema exception.
|
||||
/// </para>
|
||||
/// <note type="caution">
|
||||
/// JSON Schema validation has been moved to its own package. See <see href="http://www.newtonsoft.com/jsonschema">http://www.newtonsoft.com/jsonschema</see> for more details.
|
||||
/// JSON Schema validation has been moved to its own package. See <see href="https://www.newtonsoft.com/jsonschema">https://www.newtonsoft.com/jsonschema</see> for more details.
|
||||
/// </note>
|
||||
/// </summary>
|
||||
#if HAVE_BINARY_EXCEPTION_SERIALIZATION
|
||||
[Serializable]
|
||||
#endif
|
||||
[Obsolete("JSON Schema validation has been moved to its own package. See http://www.newtonsoft.com/jsonschema for more details.")]
|
||||
[Obsolete("JSON Schema validation has been moved to its own package. See https://www.newtonsoft.com/jsonschema for more details.")]
|
||||
public class JsonSchemaException : JsonException
|
||||
{
|
||||
/// <summary>
|
||||
|
||||
@@ -44,10 +44,10 @@ namespace Newtonsoft.Json.Schema
|
||||
/// Generates a <see cref="JsonSchema"/> from a specified <see cref="Type"/>.
|
||||
/// </para>
|
||||
/// <note type="caution">
|
||||
/// JSON Schema validation has been moved to its own package. See <see href="http://www.newtonsoft.com/jsonschema">http://www.newtonsoft.com/jsonschema</see> for more details.
|
||||
/// JSON Schema validation has been moved to its own package. See <see href="https://www.newtonsoft.com/jsonschema">https://www.newtonsoft.com/jsonschema</see> for more details.
|
||||
/// </note>
|
||||
/// </summary>
|
||||
[Obsolete("JSON Schema validation has been moved to its own package. See http://www.newtonsoft.com/jsonschema for more details.")]
|
||||
[Obsolete("JSON Schema validation has been moved to its own package. See https://www.newtonsoft.com/jsonschema for more details.")]
|
||||
public class JsonSchemaGenerator
|
||||
{
|
||||
/// <summary>
|
||||
|
||||
@@ -30,7 +30,7 @@ using Newtonsoft.Json.Utilities;
|
||||
|
||||
namespace Newtonsoft.Json.Schema
|
||||
{
|
||||
[Obsolete("JSON Schema validation has been moved to its own package. See http://www.newtonsoft.com/jsonschema for more details.")]
|
||||
[Obsolete("JSON Schema validation has been moved to its own package. See https://www.newtonsoft.com/jsonschema for more details.")]
|
||||
internal class JsonSchemaModel
|
||||
{
|
||||
public bool Required { get; set; }
|
||||
|
||||
@@ -34,7 +34,7 @@ using System.Linq;
|
||||
|
||||
namespace Newtonsoft.Json.Schema
|
||||
{
|
||||
[Obsolete("JSON Schema validation has been moved to its own package. See http://www.newtonsoft.com/jsonschema for more details.")]
|
||||
[Obsolete("JSON Schema validation has been moved to its own package. See https://www.newtonsoft.com/jsonschema for more details.")]
|
||||
internal class JsonSchemaModelBuilder
|
||||
{
|
||||
private JsonSchemaNodeCollection _nodes = new JsonSchemaNodeCollection();
|
||||
|
||||
@@ -35,7 +35,7 @@ using System.Linq;
|
||||
|
||||
namespace Newtonsoft.Json.Schema
|
||||
{
|
||||
[Obsolete("JSON Schema validation has been moved to its own package. See http://www.newtonsoft.com/jsonschema for more details.")]
|
||||
[Obsolete("JSON Schema validation has been moved to its own package. See https://www.newtonsoft.com/jsonschema for more details.")]
|
||||
internal class JsonSchemaNode
|
||||
{
|
||||
public string Id { get; }
|
||||
|
||||
@@ -28,7 +28,7 @@ using System.Collections.ObjectModel;
|
||||
|
||||
namespace Newtonsoft.Json.Schema
|
||||
{
|
||||
[Obsolete("JSON Schema validation has been moved to its own package. See http://www.newtonsoft.com/jsonschema for more details.")]
|
||||
[Obsolete("JSON Schema validation has been moved to its own package. See https://www.newtonsoft.com/jsonschema for more details.")]
|
||||
internal class JsonSchemaNodeCollection : KeyedCollection<string, JsonSchemaNode>
|
||||
{
|
||||
protected override string GetKeyForItem(JsonSchemaNode item)
|
||||
|
||||
@@ -39,10 +39,10 @@ namespace Newtonsoft.Json.Schema
|
||||
/// Resolves <see cref="JsonSchema"/> from an id.
|
||||
/// </para>
|
||||
/// <note type="caution">
|
||||
/// JSON Schema validation has been moved to its own package. See <see href="http://www.newtonsoft.com/jsonschema">http://www.newtonsoft.com/jsonschema</see> for more details.
|
||||
/// JSON Schema validation has been moved to its own package. See <see href="https://www.newtonsoft.com/jsonschema">https://www.newtonsoft.com/jsonschema</see> for more details.
|
||||
/// </note>
|
||||
/// </summary>
|
||||
[Obsolete("JSON Schema validation has been moved to its own package. See http://www.newtonsoft.com/jsonschema for more details.")]
|
||||
[Obsolete("JSON Schema validation has been moved to its own package. See https://www.newtonsoft.com/jsonschema for more details.")]
|
||||
public class JsonSchemaResolver
|
||||
{
|
||||
/// <summary>
|
||||
|
||||
@@ -32,11 +32,11 @@ namespace Newtonsoft.Json.Schema
|
||||
/// The value types allowed by the <see cref="JsonSchema"/>.
|
||||
/// </para>
|
||||
/// <note type="caution">
|
||||
/// JSON Schema validation has been moved to its own package. See <see href="http://www.newtonsoft.com/jsonschema">http://www.newtonsoft.com/jsonschema</see> for more details.
|
||||
/// JSON Schema validation has been moved to its own package. See <see href="https://www.newtonsoft.com/jsonschema">https://www.newtonsoft.com/jsonschema</see> for more details.
|
||||
/// </note>
|
||||
/// </summary>
|
||||
[Flags]
|
||||
[Obsolete("JSON Schema validation has been moved to its own package. See http://www.newtonsoft.com/jsonschema for more details.")]
|
||||
[Obsolete("JSON Schema validation has been moved to its own package. See https://www.newtonsoft.com/jsonschema for more details.")]
|
||||
public enum JsonSchemaType
|
||||
{
|
||||
/// <summary>
|
||||
|
||||
@@ -37,7 +37,7 @@ using System.Linq;
|
||||
|
||||
namespace Newtonsoft.Json.Schema
|
||||
{
|
||||
[Obsolete("JSON Schema validation has been moved to its own package. See http://www.newtonsoft.com/jsonschema for more details.")]
|
||||
[Obsolete("JSON Schema validation has been moved to its own package. See https://www.newtonsoft.com/jsonschema for more details.")]
|
||||
internal class JsonSchemaWriter
|
||||
{
|
||||
private readonly JsonWriter _writer;
|
||||
|
||||
@@ -32,10 +32,10 @@ namespace Newtonsoft.Json.Schema
|
||||
/// Specifies undefined schema Id handling options for the <see cref="JsonSchemaGenerator"/>.
|
||||
/// </para>
|
||||
/// <note type="caution">
|
||||
/// JSON Schema validation has been moved to its own package. See <see href="http://www.newtonsoft.com/jsonschema">http://www.newtonsoft.com/jsonschema</see> for more details.
|
||||
/// JSON Schema validation has been moved to its own package. See <see href="https://www.newtonsoft.com/jsonschema">https://www.newtonsoft.com/jsonschema</see> for more details.
|
||||
/// </note>
|
||||
/// </summary>
|
||||
[Obsolete("JSON Schema validation has been moved to its own package. See http://www.newtonsoft.com/jsonschema for more details.")]
|
||||
[Obsolete("JSON Schema validation has been moved to its own package. See https://www.newtonsoft.com/jsonschema for more details.")]
|
||||
public enum UndefinedSchemaIdHandling
|
||||
{
|
||||
/// <summary>
|
||||
|
||||
@@ -33,10 +33,10 @@ namespace Newtonsoft.Json.Schema
|
||||
/// Returns detailed information related to the <see cref="ValidationEventHandler"/>.
|
||||
/// </para>
|
||||
/// <note type="caution">
|
||||
/// JSON Schema validation has been moved to its own package. See <see href="http://www.newtonsoft.com/jsonschema">http://www.newtonsoft.com/jsonschema</see> for more details.
|
||||
/// JSON Schema validation has been moved to its own package. See <see href="https://www.newtonsoft.com/jsonschema">https://www.newtonsoft.com/jsonschema</see> for more details.
|
||||
/// </note>
|
||||
/// </summary>
|
||||
[Obsolete("JSON Schema validation has been moved to its own package. See http://www.newtonsoft.com/jsonschema for more details.")]
|
||||
[Obsolete("JSON Schema validation has been moved to its own package. See https://www.newtonsoft.com/jsonschema for more details.")]
|
||||
public class ValidationEventArgs : EventArgs
|
||||
{
|
||||
private readonly JsonSchemaException _ex;
|
||||
|
||||
@@ -32,9 +32,9 @@ namespace Newtonsoft.Json.Schema
|
||||
/// Represents the callback method that will handle JSON schema validation events and the <see cref="ValidationEventArgs"/>.
|
||||
/// </para>
|
||||
/// <note type="caution">
|
||||
/// JSON Schema validation has been moved to its own package. See <see href="http://www.newtonsoft.com/jsonschema">http://www.newtonsoft.com/jsonschema</see> for more details.
|
||||
/// JSON Schema validation has been moved to its own package. See <see href="https://www.newtonsoft.com/jsonschema">https://www.newtonsoft.com/jsonschema</see> for more details.
|
||||
/// </note>
|
||||
/// </summary>
|
||||
[Obsolete("JSON Schema validation has been moved to its own package. See http://www.newtonsoft.com/jsonschema for more details.")]
|
||||
[Obsolete("JSON Schema validation has been moved to its own package. See https://www.newtonsoft.com/jsonschema for more details.")]
|
||||
public delegate void ValidationEventHandler(object sender, ValidationEventArgs e);
|
||||
}
|
||||
Reference in New Issue
Block a user