{
"type": "xxx",
"version": "1",
"totalResults": -1,
"resultsFrom": 0,
"previousResultsUri": null,
"nextResultsUri": "xxx",
"exceptionNoticeUri": null,
"results": [
{
"businessId": "xxx",
**"name": "xxx",** <---- THIS ONE
"registrationDate": "xx",
"companyForm": "xxx",
"detailsUri": null,
"bisDetailsUri": "xxx",
"language": "xx",
"latestRegistrationDate": "xxx",
"checkDate": "xxx",
....
This is the JSON response
I try to parse it with like so:
dynamic dynObj = JsonConvert.DeserializeObject(output);
output = Convert.ToString(dynObj.results[0]);
return output;
Which gives contains of the results-array. However when i try to get just the name type in the results with :
output = Convert.ToString(dynObj.results[0].name);
The set is empty. How do I get the name value from the results array?