C# 클래스 ATUL_v1.JsonMethods

파일 보기 프로젝트 열기: godaddy/ATUL

공개 메소드들

메소드 설명
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