System.Text.Json add JsonIgnore attribute at runtime

前端 未结 0 611
情书的邮戳
情书的邮戳 2021-01-15 17:21

I am looking a way to Serialize object using System.Text.Json but some property is ignored based on other property value.

for example:

pub         


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