Is javascriptserializer needed when passing Json data back to my view? <p>I ran a little test (bottom) to see if nested objects could be serialized and they can! So why do I see my co workers code base serialize before he returns to the view?</p> <pre><code>var js = new JavaScriptSerializer(); return Json(new { m = js.Serialize(movies), error = "none" }, JsonRequestBehavior.AllowGet); </code></pre> <p>here is my example where I don't need to serialize, why not? and what does serializing accomplish?</p> <pre><code>var movies = new List&lt;object&gt;(); movies.Add(new { Title = "Ghostbusters", Genre = "Comedy", Year = 1984, br = new {Man = "Tall"} }); movies.Add(new { Title = "Gone with Wind", Genre = "Drama", Year = 1939 }); movies.Add(new { Title = "Star Wars", Genre = "Science Fiction", Year = 1977 }); return Json(new { m = movies, error = "none" }, JsonRequestBehavior.AllowGet); </code></pre>