Back to Practical Aspnetcore

Contract Customization

projects/json/json-23/README.md

latest226 B
Original Source

Contract Customization

This example shows how to customize serialization using DefaultJsonTypeInfoResolver.

IgnoreNegativeValue code comes from https://devblogs.microsoft.com/dotnet/system-text-json-in-dotnet-7/.