Skip to content

Commit 893b761

Browse files
authored
Merge pull request #14 from gregsdennis/schema/obsolete-2020-output-converter
add deprecation notice to legacy output example
2 parents 26c2301 + 86dbb81 commit 893b761

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

Diff for: _docs/schema/examples/legacy-output.md

+6-1
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)