I have a json in my hand and I want to get a piece of this json in from the c # console app.
I want to use JavaScriptSerializer Deserialize operation but if I give full json in this method I get an error like not valid json. That's why I want to give piece of json to this method.
How can I fixed it?
Full Json :
{
"ABCFields": {
},
"XYZFields": {
},
"OPRFields": {
"MenuEntity": [
{
"id": "89899",
"title": "Main Menu",
"link": null,
"test": "test"
},
{
"id": "2323",
"title": "Main Menu",
"link": null,
"test": "test"
}
]
}
}
I want to reach something like the following ;
[
{
"id": "89899",
"title": "Main Menu",
"link": null,
"test": "test"
},
{
"id": "2323",
"title": "Main Menu",
"link": null,
"test": "test"
}
]