serialize to stream or not
<p>i found two different examples of how to serialize data. One was using a stream and the other not?</p>

<pre><code>stream1.Position = 0;
StreamReader sr = new StreamReader(stream1);
Console.Write("JSON form of Person object: ");
Console.WriteLine(sr.ReadToEnd());
</code></pre>

<p><a href="http://msdn.microsoft.com/en-us/library/bb412179.aspx" rel="nofollow">From MSDN</a></p>

<pre><code>   public static string ToJson(this object obj, int recursionDepth = 100)  
    { 
        JavaScriptSerializer serializer = new JavaScriptSerializer(); 
        serializer.RecursionLimit = recursionDepth; 
        return serializer.Serialize(obj); 
    } 

    public static List&lt;T&gt; ToListObject&lt;T&gt;(this string obj, int recursionDepth = 100) 
    { 
        JavaScriptSerializer serializer = new JavaScriptSerializer(); 
        serializer.RecursionLimit = recursionDepth; 
        List&lt;T&gt; returnList = serializer.Deserialize&lt;List&lt;T&gt;&gt;(obj); 
        return returnList; 
    } 
</code></pre>

<p><a href="http://stackoverflow.com/questions/6145906/serialize-deserialize-listt-to-json">From StackOverflow</a></p>

<p>Why would you use Stream as an added step?</p>
