title: JSON.NET serialize and deserialize fragments
body: <p>I have queues of objects that I continuously flush to files for offline processing.  Each object type gets its own file, and I want to use JSON.NET to serialize the objects. </p>
  
  <p>so let's say I have a <code>Queue&lt;LogInfo&gt;</code>, and every time I flush it, it will go to the same file. I serialize each object one at a time and append them to a string builder, separated by commas. So my file will look like. </p>
  
  <pre><code>{ "Id":1,"Name":"a"},
  { "Id":2,"Name":"b"},
  </code></pre>
  
  <p>Now when I want to process these, I read in the file, but precede all the text by a "[" and at the end I append a "]", so that JSON.NET can deserialize the fragments as a list of LogInfo objects.</p>
  
  <p>I realize this probably isn't the intended use of the JSON serializer, but is there a better way? Is there I way I can read in the fragments (serialized objects) one-by-one without having to hack a <code>[</code> and <code>]</code> in there?, or a way to tell the serializer I'm giving it a comma-separated series of objects?  </p>