VB.NET problem converting DataTable to JSON
问题 Ok so I'm trying to use the JavaScriptSerializer to work with this code. However it crashes when it reaches the last line; Dim json As New String(sr.Serialize(dt)) I get this error message; A circular reference was detected while serializing an object of type 'System.Reflection.Module'. I would really appreciate any insights that could help solve this problem. 回答1: Circular reference means that serialising the object would result in an infinite loop. For example if you would try to serialize