SerializeXNode Method (node)

Json.NET

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

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