XMLToJSONConverter.Write Method
Writes an XML node as JavaScript Object Notation (JSON).
Namespace: Microsoft.Web.CommandUI
Assembly: Microsoft.Web.CommandUI (in Microsoft.Web.CommandUI.dll)
Syntax
'Declaration
Public Shared Sub Write ( _
document As XmlDocument, _
writer As TextWriter _
)
'Usage
Dim document As XmlDocument
Dim writer As TextWriterXMLToJSONConverter.Write(document, writer)
public static void Write(
XmlDocument document,
TextWriter writer
)
Parameters
document
Type: System.Xml.XmlDocumentThe XML document that is converted to JSON.
writer
Type: System.IO.TextWriterThe TextWriter where the conversion results are written.