You are here: Symbol Reference > Stimulsoft.Base.Json Namespace > JsonConvert Class > JsonConvert Methods > SerializeXmlNode Method > SerializeXmlNode Method (XmlNode, Formatting, bool)
Stimulsoft Reports Class Reference
ContentsIndexHome
PreviousUpNext
JsonConvert.SerializeXmlNode Method (XmlNode, Formatting, bool)

Serializes the XML node to a JSON string using formatting and omits the root object if omitRootObject is true.

Syntax
C++
C#
Visual Basic
public: string SerializeXmlNode( XmlNode node, Formatting formatting, bool omitRootObject );
Parameters
Parameters 
Description 
node 
The node to serialize. 
formatting 
Indicates how the output is formatted. 
omitRootObject 
Omits writing the root object. 
Returns

A JSON string of the XmlNode.

Made with Doc-O-Matic.
What do you think about this topic? Send feedback!
Copyright (c) 2017. All rights reserved.