C # inserting variable into JSON string by escaping quotes
I have this JSON double quoted string and I want to insert the idValue variable inside
string json = @"
{
""Request"":
{
""ElementList"":
{
""id"": ""idValue""
}
}
}
In a normal string, this can be done with "+ idValue +", but how can I do it here when I have those double quotes? Thank.
+3
source to share