title: JSON.NET: Serialize json string property into json object
body: <p>Is it possible to tell JSON.NET I have a string with JSON data? E.g. I have a class like this:</p>
  
  <pre><code>public class Foo
  {
      public int Id;
      public string RawData;
  }
  </code></pre>
  
  <p>which I use like this:</p>
  
  <pre><code>var foo = new Foo();
  foo.Id = 5;
  foo.RawData = @"{""bar"":42}";
  </code></pre>
  
  <p>which I want to be serialized like this:</p>
  
  <pre><code>{"Id":5,"RawData":{"bar":42}}
  </code></pre>
  
  <p>Basically I have a piece of unstructured variable-length data stored as JSON already, I need fully serialized object to contain this data as a part.</p>
  
  <p>Thanks.</p>
  
  <p>EDIT: Just to make sure it is understood properly, this is one-way serialization, i.e. I don't need it to deserialize back into same object; the other system shall process this output.  I need content of RawData to be a part of JSON, not a mere string.</p>