dotnet / dotnet/docs

Generic json type info resolver

Open
#41,335 0 comments 0 reactions 0 assignees View on GitHub
:watch: Not Triaged dotnet-fundamentals/svc
Dominant language
No language data
Stars
4.8k
Forks
6.1k
Avg merge
19h 10m
Merged PRs (30d)
268

Description

### Type of issue

Other (describe below)

### Description

Based on the example I created this generic fluent resolver: https://github.com/riezebosch/PolymorphicJsonTypeInfoResolver?tab=readme-ov-file

Maybe worth mentioning?

### Page URL

https://learn.microsoft.com/en-us/dotnet/standard/serialization/system-text-json/polymorphism?pivots=dotnet-8-0&source=docs#configure-polymorphism-with-the-contract-model

### Content source URL

https://github.com/dotnet/docs/blob/main/docs/standard/serialization/system-text-json/polymorphism.md

### Document Version Independent Id

17511810-6572-ad88-6eaf-4f9bded720b7

### Article author

@gewarren

### Metadata

* ID: 179cc49a-a37d-155e-5ecf-deca4f219a5a
* Service: **dotnet-fundamentals**

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.