Deserialize Both Single Item And An Array For The Same Property In C#
.NET

In some scenarios, we are getting a dynamic response, for example, In the same property, we are getting a single element and sometimes an array of elements. That is a challenging task to handle both a single item and an array for the same property while deserializing. In this article, we will handle both item and array for the same property.

Subscribe

Select Categories