Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR CSHARP

How to convert output of HttpClient PostAsJsonAsync() into user defined list of object

var jsonString=  response.Content.ReadAsStringAsync();

var employees = JsonConvert.DeserializeObject<List<Employee>>(jsonString);
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #How #convert #output #HttpClient #user #defined #list #object
ADD COMMENT
Topic
Name
2+4 =