How to ignore an array item during deserialization of JSON string

后端 未结 2 1939
清歌不尽
清歌不尽 2021-01-21 04:50

It seems to be very simple, but I just can\'t figure out how to do it. I use an external api to get JSON results (using Newtonsoft.JSON), problem is a poor design which leaves m

2条回答
  •  佛祖请我去吃肉
    2021-01-21 05:45

    When you are serializing an Object that time you can configure which property to ignore, if are willing to do so. If you have done that way then you have to iterate the list List data to find Team Object and put them in separate list.

    提交回复
    热议问题