Class StdBE
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: StdBE100
Assembly: StdBE100.dll
Syntax
public class StdBE
Constructors
StdBE()
Declaration
public StdBE()
Methods
Clone()
Clones this instance.
Declaration
public object Clone()
Returns
Type | Description |
---|---|
System.Object |
ParseJsonText(String, List<String>)
Parses Json Text to a JObject
Declaration
public JObject ParseJsonText(string jsonText, List<string> ignoreProperties)
Parameters
Type | Name | Description |
---|---|---|
System.String | jsonText | |
System.Collections.Generic.List<System.String> | ignoreProperties |
Returns
Type | Description |
---|---|
Newtonsoft.Json.Linq.JObject |
SerializeJson()
Serializes the json.
Declaration
public string SerializeJson()
Returns
Type | Description |
---|---|
System.String |
SerializeJson(List<String>)
Serializes the json.
Declaration
public string SerializeJson(List<string> ignoreProperties)
Parameters
Type | Name | Description |
---|---|---|
System.Collections.Generic.List<System.String> | ignoreProperties | The ignore properties. |
Returns
Type | Description |
---|---|
System.String |
SerializeJsonToXml(String, List<String>)
Serializes the json to XML.
Declaration
public string SerializeJsonToXml(string rootElement, List<string> ignoreProperties)
Parameters
Type | Name | Description |
---|---|---|
System.String | rootElement | The root element. |
System.Collections.Generic.List<System.String> | ignoreProperties | The ignore properties. |
Returns
Type | Description |
---|---|
System.String |
SerializeXml(XmlAttributeOverrides, XmlSerializerNamespaces)
Serializes the XML.
Declaration
public XmlDocument SerializeXml(XmlAttributeOverrides xmlAttributeOverrides = null, XmlSerializerNamespaces namespaces = null)
Parameters
Type | Name | Description |
---|---|---|
System.Xml.Serialization.XmlAttributeOverrides | xmlAttributeOverrides | The XML attribute overrides. |
System.Xml.Serialization.XmlSerializerNamespaces | namespaces | The namespaces. |
Returns
Type | Description |
---|---|
System.Xml.XmlDocument |