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 Value
A JSON string of the XmlNode.