Skip to content

add deprecation notice to legacy output example #14

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Mar 24, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 6 additions & 1 deletion _docs/schema/examples/legacy-output.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,14 @@ permalink: /schema/examples/:title/
icon: fas fa-tag
order: "01.4.5"
---
> **DEPRECATION NOTICE**
>
> The `Pre202012EvaluationResultsJsonConverter` class has been marked obsolete and will be removed in the next major version.
{: .prompt-danger }

The 2019-09 and 2020-12 JSON Schema specifications define output formats that can be difficult to work with.

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`.
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`.

```c#
var schema = JsonSchema.FromText(" ... ");
Expand Down