Seven price
asked on
get json value in c#
I am returning a string
"{\"valid\":\"true\",\"number\":\"0721224548924\",\"itemname\":\"adidas\",\"alias\":\"\",\"description\":\"\",\"avg_price\":\"\",\"rate_up\":0,\"rate_down\":0}"
string sLine = "";
int i = 0;
while (sLine != null)
{
i++;
sLine = objReader.ReadLine();
if (sLine != null)
Console.WriteLine("{0}:{1}", i, sLine);
}
Not sure how to get the value of each on the c# end.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER