I have following json:
{
"Name" : "Value1",
"Data": [
{
"UserName": "test",
"email": "[email protected]",
"UserInformation": {
"City": "city",
"country:": "country"
}
},
{
"UserName": "test1",
"email": "[email protected]"
}
]
}
I want get next dictionary:
{
"Name" : "Value1",
"Data[0].UserName": "test",
"Data[0].email": "[email protected]",
"Data[0].UserInformation.City": "city",
"Data[0].UserInformation.country": "country",
"Data[1].UserName": "test1",
"Data[1].email": "[email protected]"
}
Using Newtonsoft.Json don't help resolving my problem. Please, can you help me?