 | JsonConvertSerializeXmlNode Method (XmlNode) |
Serializes the
XmlNode to a JSON string.
Namespace:
Newtonsoft.Json
Assembly:
Newtonsoft.Json (in Newtonsoft.Json.dll) Version: 12.0.1+509643a8952ce731e0207710c429ad6e67dc43db
Syntaxpublic static string SerializeXmlNode(
XmlNode node
)
Parameters
- node
- Type: System.XmlXmlNode
The node to serialize.
Return Value
Type:
StringA JSON string of the
XmlNode.
See Also