title: Serialize/deserialise a byte[] using NewtonSoft Json
body: <p>I have a problem with Json. It serializes a byte array into a base64 encoded string, e.g.,</p>
  
  <pre><code>"UpdateSeq":{"$type":"System.Byte[], mscorlib","$value":"AAAAAAAJHxw="},
  </code></pre>
  
  <p>but it ignores the base64 encoded string when deserialising the string. I get a byte array but it is just AAA etc. converted to a byte array. If doesn't decode the base64 encoded string.</p>