Share Link
Copied to clipboard
Embed on Your Page
Copied to clipboard
We Stand with Ukraine
[Fork] https://stackoverflow.com/questions/77840303/can-i-shorten-types-names-while-serializing by dbc_MinLength
Environment version: .NET 9.0.0 (9.0.0), Unix 6.8.0.1014
System.Text.Json version: System.Text.Json, Version=9.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51

[{"__type":"P","Name":"AbcPerson"},{"__type":"S","Name":"foo"}]
Cached Result
Last Run: 3:19:45 pm
Compile: 0.019s
Execute: 0.11s
Memory: 10.61Mb
CPU: 0.129s