-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
-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)