Skip to content

Commit 86dbb81

Browse files
committed
add deprecation notice to legacy output example
1 parent 31ecc3b commit 86dbb81

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

_docs/schema/examples/legacy-output.md

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,14 @@ permalink: /schema/examples/:title/
66
icon: fas fa-tag
77
order: "01.4.5"
88
---
9+
> **DEPRECATION NOTICE**
10+
>
11+
> The `Pre202012EvaluationResultsJsonConverter` class has been marked obsolete and will be removed in the next major version.
12+
{: .prompt-danger }
13+
914
The 2019-09 and 2020-12 JSON Schema specifications define output formats that can be difficult to work with.
1015

11-
For future versions of the specification, the output is undergoing some [changes](https://json-schema.org/blog/posts/fixing-json-schema-output). This new format is the default for _JsonSchema.Net_, however the evaluation results can still be serialized to the 2019-09 / 2020-12 formats by using the `Pre202012EvaluationResultsJsonConverter`.
16+
For future versions of the specification, the output is undergoing some [changes](https://json-schema.org/blog/posts/fixing-json-schema-output). This new format is the default for _JsonSchema.Net_, however the evaluation results can still (mostly) be serialized to the 2019-09 / 2020-12 formats by using the `Pre202012EvaluationResultsJsonConverter`.
1217

1318
```c#
1419
var schema = JsonSchema.FromText(" ... ");

0 commit comments

Comments
 (0)