title: Newtonsoft.Json deserializing base64 image fails
body: <p>I'm using Newtonsoft.Json to deserialize the output from my webservice to an object.
  It worked fine until I added a <code>Bitmap</code>property to my class (named <code>User</code>) to hold an avatar.</p>
  
  <p>The webservice is returning that propert as a Base64 string, which is as expected. 
  The problem is when I try to convert back the JSON from the WS to a <code>List&lt;User&gt;</code>, a <code>JsonSerializationException</code> is thrown in this block of code:</p>
  
  <pre><code>// T is IList&lt;User&gt;
  response.Content.ReadAsStringAsync().Proceed(
      (readTask) =&gt;
      {
          var json = ((Task&lt;string&gt;)readTask).Result;
          var result = JsonConvert.DeserializeObject&lt;T&gt;(json); //&lt;-- it fails here
  
           // do stuff! 
       });
  </code></pre>
  
  <p>Output from exception is:</p>
  
  <pre><code>Error converting value "System.Drawing.Bitmap" to type 'System.Drawing.Bitmap'. Path '[2].Avatar
  </code></pre>
  
  <p>and looking at the inner exception:</p>
  
  <pre><code>{"Could not cast or convert from System.String to System.Drawing.Bitmap."}
  </code></pre>
  
  <p>It's clear that it fails to parse the Base64 string, but it's not clear why.</p>
  
  <p>Any ideas/workaround?</p>
  
  <p><strong>EDIT</strong>
  I know I can use <code>Convert.FromBase64String</code> do get a byte array and load a bitmap from that. Then I'd like to update my question to ask about <strong>how</strong> can I skip or manually parse <strong>only</strong> that field. 
  I would like to avoid, having to manually parse all the JSON. 
  Is this even possible?</p>
  
  <p><strong>EDIT 2</strong>
  I found out the root problem: JSON is not being correctly serialized in webservice (and I fail to see why). I thought that <a href="https://stackoverflow.com/questions/15529904/different-behaviour-in-response-if-acceptapplication-json-is-specified">this</a> was a somewhat different issue, but no. My webservice is simply returning a string <code>"System.Drawing.Bitmap"</code> instead of its base64 content. Hence the <code>JsonSerializationException</code>.</p>
  
  <p>I have been unable to solve that issue, the only solution I've found is to turn my field into a <code>byte []</code>.</p>