Using RestSharp, I need to POST a body containing a json string that looks like this:
{
"$a": "b",
"c": "d"
}
In the past I've created RestSharp requests using code like this:
var request = new RestRequest("someApiEndPoint", RestSharp.Method.POST);
request.AddJsonBody(new
{
a = "b",
c = "d"
});
What's the best way to add a "$" to the "a" property in this case?