-Marked old JsonSchema implementation as obsolete

-License headers
-Documentation
-Build
This commit is contained in:
James Newton-King
2015-01-13 21:31:35 +13:00
parent a2e15adf80
commit 8b7b699e1d
163 changed files with 2990 additions and 325 deletions
-25
View File
@@ -108,31 +108,6 @@ namespace Newtonsoft.Json.Tests
public DateTime Date { get; set; }
}
[Test]
public void GenerateSchema()
{
JsonSchemaGenerator generator = new JsonSchemaGenerator();
JsonSchema schema = generator.Generate(typeof(Session));
// {
// "type": "object",
// "properties": {
// "Name": {
// "required": true,
// "type": [
// "string",
// "null"
// ]
// },
// "Date": {
// "required": true,
// "type": "string"
// }
// }
// }
}
public class HtmlColorConverter : JsonConverter
{
public override void WriteJson(JsonWriter writer, object value, JsonSerializer serializer)