I need to convert those params from REST-API query to C# LINQ.
?descending=true&endkey=[35,37]&startkey=[35,37,{}]
In LINQ this query look like this:
c.GetView("MyView", "SubView").StartKey(startKey).EndKey(endKey).Descending(true);
What type should be variables startKey and endKey?
I've tried string, but in this case .Net library produces query with invalid params:
?descending=true&endkey="[35,37]"&startkey="[35,37,{}]"