https://github.com/aimenux/jsonconverterwebapidemo
Using custom JsonConverter to return derived types in api response
https://github.com/aimenux/jsonconverterwebapidemo
autofixture automapper fluent-validation integration-tests json-converter mediatr net80 system-text-json webapi xunit-tests
Last synced: 11 days ago
JSON representation
Using custom JsonConverter to return derived types in api response
- Host: GitHub
- URL: https://github.com/aimenux/jsonconverterwebapidemo
- Owner: aimenux
- License: mit
- Created: 2024-04-15T22:16:34.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2024-04-16T12:24:34.000Z (over 1 year ago)
- Last Synced: 2025-02-27T01:54:32.928Z (8 months ago)
- Topics: autofixture, automapper, fluent-validation, integration-tests, json-converter, mediatr, net80, system-text-json, webapi, xunit-tests
- Language: C#
- Homepage:
- Size: 28.3 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
[](https://github.com/aimenux/JsonConverterWebApiDemo/actions/workflows/ci.yml)
# JsonConverterWebApiDemo
```
Using custom JsonConverter to return derived types in api response
```
> In this repo, i m using a [custom JsonConverter](https://learn.microsoft.com/en-us/dotnet/standard/serialization/system-text-json/converters-how-to) in order to return multiple derived types in web api response.
**`Tools`** : net 8.0, system.text.json, mediatr, automapper, fluent-validation, xunit