Json.NET - Quick Starts & API Documentation
SerializeXmlNode Method (node)
Namespaces ► Newtonsoft.Json ► JsonConvert ► SerializeXmlNode(XmlNode)
Serializes the XML node to a JSON string.
Declaration Syntax
Parameters- node (XmlNode)
- The node to serialize.
Return ValueA JSON string of the XmlNode.