The Client side receives a formal JSON content \"{\\\"Id\\\":[1,2,3],\\\"Size\\\":56}\"
, but get an error in deserialization the byte array.
1 Error occurs
I have run into this issue, too. My solution was to use RestSharp to perform a raw execute and use Json.NET to deserialize the result:
var response = client.Execute(request);
var keyResponse = JsonConvert.DeserializeObject(response.Content);
keyResponse should now be an instance of your key class deserialized from the JSON content.