title: JsonIgnore not working in System.Web.Mvc.Controller
body: <p>I have a web-API project and a simple class with a few properties, some are marked <code>&lt;JsonIgnore&gt;</code>. </p>
  
  <p>In my MVC-controller I put <code>Return Json(instanceOfMyClass, JsonRequestBehavior.AllowGet)</code>. All members are serialized.
  I put <code>Return Json(Of MyClass)(instanceOfMyClass)</code> in my WEBAPI-controller. Only the members I intend to serialize are present.</p>
  
  <p>How can I ignore these properties independent of the controller that's going to serialize.</p>