I need to get data from a subrange inside json, but not convert it to the list below, this is my json string
{"responseCode": "0", "responseObject": {"TotalRecords": 25, "TotalDisplayRecords": 25, "aaData": [{"InvoiceId": 16573, "somedata ..}", appCrmAccount (some names, total of 100 such names) amount ": 40086.00," invoiceNumber ":" 12, accountName ":" dfgAsfsadf "," dueDateStr ":" 04/24/2012 "(data must be in the list)
here is my code:
var djson = new DataContractJsonSerializer(typeof(dataList));
var stream = new MemoryStream(Encoding.UTF8.GetBytes(json));
dataList result = (dataList)djson.ReadObject(stream);
kind help .. Thanks in Advance.
source
share