Hi ,
this is my code
StreamReader reader = new StreamReader(response.GetResponseStream(), Encoding.UTF8);
string message = reader.ReadToEnd();
my model name is 'DocumentManagementD' .
this 'message' having json data . i need to bind this json data to model in mvc 4 please help me.
that json data is :
{
"ResponseResult": [
{
"DocumentNumber": "123",
"DocumentName": "Resume",
"DocumentDescription": "Gambardella, Matthew XML Developer's Guide Computer 44.95 2000-10-01 An in-depth look at creating applications \r\n with XML. "
}
]
}
Shashank PatilPosted Sep 18, 2015, 6:34 AM
Shashank PatilPosted Sep 18, 2015, 3:53 AM
Shashank PatilPosted Sep 18, 2015, 3:50 AM
padmapriya patruniPosted Sep 18, 2015, 1:41 AM
Shashank PatilPosted Sep 18, 2015, 1:26 AM
DocumentManagementD documentObject = (DocumentManagementD)jsonObj.ReadObject(reader);