SerializeXmlNode Method (node)

Json.NET

Json.NET - Quick Starts & API Documentation SerializeXmlNode Method (node)
NamespacesNewtonsoft.JsonJsonConvertSerializeXmlNode(XmlNode)
Serializes the XML node to a JSON string.
Declaration Syntax
C# Visual Basic Visual C++
public static string SerializeXmlNode(
	XmlNode node
)
Public Shared Function SerializeXmlNode ( _
	node As XmlNode _
) As String
public:
static String^ SerializeXmlNode(
	XmlNode^ node
)
Parameters
node (XmlNode)
The node to serialize.
Return Value
A JSON string of the XmlNode.

Assembly: Newtonsoft.Json (Module: Newtonsoft.Json) Version: 4.0.2.0 (4.0.2.13623)