title: VB.NET problem converting DataTable to JSON
body: <p>Ok so I'm trying to use the JavaScriptSerializer to work with <a href="http://pastebin.com/m55eba86a" rel="nofollow noreferrer"><strong>this</strong></a> code. However it crashes when it reaches the last line;</p>
  
  <pre><code>Dim json As New String(sr.Serialize(dt))
  </code></pre>
  
  <p>I get this error message;</p>
  
  <blockquote>
    <p>A circular reference was detected
    while serializing an object of type
    'System.Reflection.Module'.</p>
  </blockquote>
  
  <p>I would really appreciate any insights that could help solve this problem.</p>