https://learn.microsoft.com/zh-cn/dotnet/api/system.text.json.jsonserializeroptions.ignorereadonlyproperties?view=net-10.0
JsonSerializerOptions.IgnoreReadOnlyProperties Property (System.Text.Json) | Microsoft Learn
Gets or sets a value that indicates whether read-only properties are ignored during serialization. The default value is false.
property systemtextjsonmicrosoftlearn