hi ALL
I have a json string like
{ "Code": 0, "Ab": { "Header" : { "0": { "Type": "KeyEx", "Field": { "Key": { "Value": 1 } } }, "1": { "Type": "StringField", "Field": {"CompanyName": { "Value": 1 } } } }, "Data": [ { "Key": { "Value": "Q2" }, "CompanyName": { "Value": "ABC" } }] } }";
this Json Consists of 2 parts
"Header" and "Data"
where Header Part contains the Object Name and Class
Example
KeyEx : is Type (Class)
Key : is the Object Name of Class(KeyEx)
like KeyEx Key
Similarly
StringField CompanyName
Data Section contains the Data for the Header Class
Can anyone Give me Suggestion how to solve this Type of Scenario using Json.Net + C#
Thanks In Advance