Open
Description
Type of issue
Code doesn't work
Description
The line "JsonNode schema = options. GetJsonSchemaAsNode(typeof(Person));" is incorrect. I believe it should be more likeJsonNode schema =JsonSchemaExporter.GetJsonSchemaAsNode(options, typeof(MyPoco));"
Page URL
https://learn.microsoft.com/en-us/dotnet/standard/serialization/system-text-json/extract-schema
Content source URL
Document Version Independent Id
47254957-c6a4-dc74-1d1a-40e1e04febef
Platform Id
06fd6273-de06-c1a4-181b-aecab634e6e7
Article author
Metadata
- ID: 8bb25791-a3f3-2fb6-39be-0259b0832d1a
- PlatformId: 06fd6273-de06-c1a4-181b-aecab634e6e7
- Service: dotnet-fundamentals
Metadata
Metadata
Assignees
Type
Projects
Status
🔖 Ready