I have arrays like these.
{
ImplArray1:[
{
...
}
, ...
],
ImplArray2:[
{
...
}
, ...
]
}
which both Impl1 and Impl2 implement same interface.
How can I deserialize both arrays into two List< Interface>?
Edited : My god. The question doesn't make sense at all. Really sorry for being bad at life.
What I mean is, an array ImplArray1 contains Impl1, and array ImplArray2 contains Impl2. Both Impl1 and Impl2 implement same interface. How can I deserialize both into List< Interface1>?