Let's say I have an Employee class.
Employee
{
string Name;
int Age
}
My string contains the data of different company's employee in a string. I want deserialize it as List of Company Info. I have Company Class. Is there any solution which can deserialize multiple appended objects represented as string as following .
[{"companyName":"ABC","Employees":[{"Name":"X","Age":24},{"Name":"Y","Age":27}]}]
[{"companyName":"XYZ","Employees":[{"Name":"A","Age":24},{"Name":"B","Age":27}]}]
I want to know If there is an existing solution for it or I need to write my own JSON reader.