C# Класс ATUL_v1.JsonMethods

Показать файл Открыть проект

Открытые методы

Метод Описание
GetJSONString ( DataTable Dt ) : string

Gets the JSON string.

StringToJSONString ( string sValue ) : string

String to JSON string.

ToJson ( DataSet data ) : object>.Dictionary

Toes the json.

ToJson ( DataTable table ) : object>.Dictionary

Toes the json.

XmlToJSON ( XmlDocument xmlDoc ) : string

Приватные методы

Метод Описание
OutputNode ( string childname, object alChild, StringBuilder sbJSON, bool showNodeName ) : void
RowsToDictionary ( DataTable table ) : object>>.List
SafeJSON ( string sIn ) : string
StoreChildNode ( SortedList childNodeNames, string nodeName, object nodeValue ) : void
XmlToJSONnode ( StringBuilder sbJSON, XmlElement node, bool showNodeName ) : void

Описание методов

GetJSONString() публичный статический Метод

Gets the JSON string.
public static GetJSONString ( DataTable Dt ) : string
Dt System.Data.DataTable The dt.
Результат string

StringToJSONString() публичный статический Метод

String to JSON string.
public static StringToJSONString ( string sValue ) : string
sValue string The s value.
Результат string

ToJson() публичный статический Метод

Toes the json.
public static ToJson ( DataSet data ) : object>.Dictionary
data System.Data.DataSet The data.
Результат object>.Dictionary

ToJson() публичный статический Метод

Toes the json.
public static ToJson ( DataTable table ) : object>.Dictionary
table System.Data.DataTable The table.
Результат object>.Dictionary

XmlToJSON() публичный статический Метод

public static XmlToJSON ( XmlDocument xmlDoc ) : string
xmlDoc System.Xml.XmlDocument
Результат string