'how to decode list of enum as root element excluding unknown enum
this is my json to parse:
["AA", "BB", "unknown"]
I need to decode with List<enum> that doesn't contain unknown element. I can get list of 3 element with 1 null or list of 2 element.
i tryed KindListSerializer but how to apply to root element?
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|
