title: Can RestSharp handle byte arrays?
body: <p>I'm using RestSharp. I was using XML as the transport encoding for my data, but then I <a href="https://stackoverflow.com/q/11799750/98422">had problems</a> with that, so I switched to using JSON. Now I'm having problems with that too!</p>
  
  <p>All was well until I tried to pass an object containing a byte array (*). Now I get a de-serialization error complaining about "object has no parameterless constructor". (The JSON returned by the server looks Kosher - it's just not being correctly de-serialized by RestSharp).</p>
  
  <p>I see I'm <a href="https://stackoverflow.com/questions/10890790/restsharp-deserialize-json-contentrepresent-an-object-contains-an-byte-array-e">not the only one having problems</a>. Is there no solution other than the baby-out-with-the-bathwater approach suggested in that post?</p>
  
  <p>(*) I had tested it with a small hand-coded byte array early on in my development, just to check that it worked. It <em>did</em> work then, but doesn't work now. I don't know if that's due to the size of the array, the "characters" in the array, or what. Dammit, this has been such a time-sink!</p>