I want to send this JSON string with RestSharp as a parameter:
{"filter":[{"date_modified":{"$dateBetween":["2017-10-13","2017-10-13"]}}]}
Ideally I'd like to do something like this:
request.AddParameter("filter","[{"date_modified":{"$dateBetween":["2017-10-13","2017-10-13"]}}]");
But does obviously not work. But how can I solve it?
Edit: I have tried sending in the json string through a REST client so I know it works.
Regards, Erik