{
"Company": "XXXX",
"Employee": {
"Id":{
"Value": 0011
},
"Name": "Sankar"
}
"Myids": "sdfsdf-sdf-sdf-sdf-sdf",
}
if there is nested json , am getting error " Unexpected JSON token when reading DataTable: StartObject. Path 'Devices[0].LocationGroupId', line 11, position 26", otherwise it works fine.
StreamReader stRead = File.OpenText(@"C:\Users\ssankare\Desktop\json.txt");
string json = stRead.ReadToEnd();
var dataSet = JsonConvert.DeserializeObject<DataSet>(json);
var table = dataSet.Tables[0];