How can I convert php array to c# string(xml or json)?
[ID] => 1
[CreditNo] => 2
[Date] => 2017-06-15
I have found some source but they dont work
How can I convert php array to c# string(xml or json)?
[ID] => 1
[CreditNo] => 2
[Date] => 2017-06-15
I have found some source but they dont work
Convert the json to xdocument and get the results
var xml = XDocument.Load(JsonReaderWriterFactory.CreateJsonReader(
Encoding.ASCII.GetBytes(JsonString), new XmlDictionaryReaderQuotas()));
var resultlist=xml.Descendants("item"); // to get the direct node value result as list