title: deserialize message received from message queue
body: <p>i am trying to deseriliaze a json message coming from MSMQ, but getting exception while parsing. </p>
  
  <p>i am doing like this:</p>
  
  <pre><code>var transaction = new MessageQueueTransaction();
                  transaction.Begin();
                  Console.WriteLine("Listening For Message Now...");
                  var message = queue.Receive(transaction);
                  var reader = new StreamReader(message.BodyStream,Encoding.Default);
  
                  var jsonMessage = reader.ReadToEnd();
                  var emailMessage = JsonConvert.DeserializeObject&lt;MessageType&gt;(jsonMessage);
  
   The Exception:
  ................
   Json Parser Exception Unexpected character encountered while parsing value: S. Path '', line 0, position 0
  
  The Message Coming from MSMQ with control characters:
   .................................
  </code></pre>
  
  <p><img src="https://i.stack.imgur.com/oWgyG.png" alt="enter image description here"></p>
  
  <p>i think this expection is generic expection that comes while parsing.</p>
  
  <p>What is the proper way of receiving the message from the queue?</p>
  
  <p>Would be nice to get some meaningful examples:)</p>