Class XmlJsonInstance
Represents a JSON instance from an XML data source.
Inherited Members
Namespace: Cuemon.Runtime.Serialization
Assembly: Cuemon.Xml.dll
Syntax
public sealed class XmlJsonInstance : JsonInstance
Constructors
| Improve this DocXmlJsonInstance(String, Object, Int32)
Initializes a new instance of the XmlJsonInstance class.
Declaration
public XmlJsonInstance(string name, object value, int nodeNumber)
Parameters
Type | Name | Description |
---|---|---|
System.String | name | The name of the JSON object. |
System.Object | value | The value of the JSON object. |
System.Int32 | nodeNumber | The logical node number of the JSON object placement in the originating structural data source. |
XmlJsonInstance(String, Object, Int32, XPathNodeType)
Initializes a new instance of the XmlJsonInstance class.
Declaration
public XmlJsonInstance(string name, object value, int nodeNumber, XPathNodeType nodeType)
Parameters
Type | Name | Description |
---|---|---|
System.String | name | The name of the JSON object. |
System.Object | value | The value of the JSON object. |
System.Int32 | nodeNumber | The logical node number of the JSON object placement in the originating structural data source. |
System.Xml.XPath.XPathNodeType | nodeType | The node type of the XML document to convert into a JSON representation. |
Properties
| Improve this DocNodeType
Gets the originating node type of the XML document.
Declaration
public XPathNodeType NodeType { get; }
Property Value
Type | Description |
---|---|
System.Xml.XPath.XPathNodeType | The originating node type of the XML document. |
Methods
| Improve this DocGetSignature()
Computes and returns a MD5 signature of the following properties: Cuemon.IO.JsonInstance.Name, Cuemon.IO.JsonInstance.Value, Cuemon.IO.JsonInstance.NodeNumber and NodeType.
Declaration
public override string GetSignature()
Returns
Type | Description |
---|---|
System.String | A MD5 signature of the following properties: Cuemon.IO.JsonInstance.Name, Cuemon.IO.JsonInstance.Value, Cuemon.IO.JsonInstance.NodeNumber and NodeType. |