title: XML entities in Json.NET
body: <p>Json.NET support converting JSON to and from XML. So I tried simple code like this:</p>
  
  <pre><code>string xml = @"&lt;?xml version='1.0' standalone='no'?&gt;
      &lt;!DOCTYPE notes [
          &lt;!ENTITY ent 'Sample text'&gt;
      ]&gt;
      &lt;notes&gt;
          &lt;note&gt;&amp;ent;&lt;/note&gt;
      &lt;/notes&gt;";
  
  XmlDocument doc = new XmlDocument();
  doc.LoadXml(xml);
  string json = JsonConvert.SerializeXmlNode(doc);
  Console.WriteLine(json);
  </code></pre>
  
  <p>As a result there is thrown exception: </p>
  
  <pre><code>Newtonsoft.Json.JsonSerializationException:
  Unexpected XmlNodeType when getting node name: EntityReference
  </code></pre>
  
  <p>I can't find any information about (non)supporting entities, so maybe I am doing something wrong?</p>