title: JSON.NET and Replacing @ Sign in XML to JSON converstion
body: <p>The JSON.NET framework can convert XML to JSON, but it uses the @ sign in the JSON as the attribute.  I would rather remove this before sending it to the view.  What would be the best approach for this?</p>
  
  <p>I know I can do a straight up replace, but an @ character may be relevant somewhere and shouldn't be replaced.  Is there a Regex for this?</p>
  
  <pre class="lang-cs prettyprint-override"><code>public ActionResult Layout()
  {
      var xml = new XmlDocument();
      xml.XmlResolver = null;
      xml.Load(Server.MapPath("~/App_Data/Navigation.xml"));
      return Content(JsonConvert.SerializeXmlNode(xml, Newtonsoft.Json.Formatting.Indented));
  }
  </code></pre>
  
  <pre class="lang-js prettyprint-override"><code>{
    "Layout": {
      "Navigation": [
        {
          "@Type": "Menu",
          "@Title": "Dashboard"
        },
        {
          "@Type": "Menu",
          "@Route": "Events",
          "@Title": "Events",
          "Navigation": {
            "@Type": "Action",
            "@Route": "Event",
            "@Title": "+ Add Event",
            "@Order": "1",
            "Navigation": {
              "@Type": "Item",
              "@Route": "Event",
              "@Name": "Event",
              "Navigation": [
                {
                  "@Route": "Pools",
                  "@Type": "SubNavigation",
                  "@Name": "Pools"
                },
                {
                  "@Route": "Brackets",
                  "@Type": "SubNavigation",
                  "@Name": "Brackets"
                }
              ]
            }
          }
        }
      ]
    }
  }
  </code></pre>