Json and Circular Reference Exception
Update: Do not try to use NonSerializedAttribute, as the JavaScriptSerializer apparently ignores it. Instead, use the ScriptIgnoreAttribute in System.Web.Script.Serialization. public class Machine { public string Customer { get; set; } // Other members // … } public class Customer { [ScriptIgnore] public Machine Machine { get; set; } // Parent reference? // Other members // … Read more