0

I Have a Json Format

strHTML = {"responseCode":"3001","response":"1533352425185"}

but i want to get only 3001 how to get it in asp.net?

2
  • 1
    error : JsonConvert does not exist when i am using List<string[]> data = JsonConvert.DeserializeObject<List<string[]>>(strHTML); Commented Aug 7, 2018 at 7:39
  • Public Class Test { public string responseCode { get; set; } public string response { get; set; } } Test obj = JsonConvert.DeserializeObject<Test>(strHTML); string responseCode = obj.responseCode; Commented Aug 8, 2018 at 5:54

0

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.