System.Text.Json - How to deserialize immutable objects with ReferenceHandler.Preserve?

前端 未结 0 959
我寻月下人不归
我寻月下人不归 2021-02-07 03:08

I found out how to use System.Text.Json with immutable objects using the [JsonConstructor] attribute (see: How to use immutable types), and separately how to preserve references

相关标签:
回答
  • 消灭零回复
提交回复
热议问题