I'm new to C#, I'm calling a service that is returning an encoded json response :
{"GetResult":["123"]}
In my code, I want to get 123. I wrote the following :
String response_after_parsing = JObject.Parse(response).SelectToken("GetResult").ToString();
Console.WriteLine(response_after_parsing);
The string that's being displayed in the console is the following :
["123"]
I've searched about this issue but I couldn't find the solution, any help please ?