System.Text.Json should ignore empty collections

后端 未结 0 357
广开言路
广开言路 2021-02-08 08:27

How do i ignore empty collections? I know i can set null not to be serialized but what if they are empty? I didnt see if this was possible in the docs I am using .NET 5

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