{"data": {
"auth_expires": 0,
"string_original": "keyword",
"string": "keyword",
"tld": "com",
"tlds": [
"com",
"news"
],
"domains": {
"com": [
"keyword hq .com",
"top keyword .com",
"keyword tool .com"
]
}
}
}
This is what i get in json,how to properly convert it in string arrays or lists? This is example of my code.Im trying to get exact part from json,like "com",so in string array i would have "keyword hq .com" amd so other
class JsonResponse
{
public List<domain> domains { get; set; }
}
class domain
{
string com;
}
JsonResponse response = JsonSerializer.Deserialize<JsonResponse>(jsonResponse);
UPDATE:Made JSON in valid view