Skip to content

Commit e0b5fc7

Browse files
Add README.md
1 parent 8740712 commit e0b5fc7

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
# JsonSchemaExporter
2+
3+
Provides a polyfill for the [.NET 9 `JsonSchemaExporter` component](https://learn.microsoft.com/dotnet/standard/serialization/system-text-json/extract-schema) that is compatible with all supported targets using System.Text.Json version 8.
4+
5+
To use this in your project, add the following to your `.csproj` file:
6+
7+
```xml
8+
<PropertyGroup>
9+
<InjectJsonSchemaExporterOnLegacy>true</InjectJsonSchemaExporterOnLegacy>
10+
</PropertyGroup>
11+
```

0 commit comments

Comments
 (0)