JsonHelper Class
From HD.Common
| JsonHelper Class | Helper帮助文档 |
JSON转换帮助类
Inheritance Hierarchy
Namespace: HD.Common
Assembly: HD.Common (in HD.Common.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
public class JsonHelper
Public Class JsonHelper
public ref class JsonHelper
type JsonHelper = class end
The JsonHelper type exposes the following members.
Constructors
| Name | Description | |
|---|---|---|
| JsonHelper | Initializes a new instance of the JsonHelper class |
Methods
| Name | Description | |
|---|---|---|
| Equals | (Inherited from Object.) | |
| Finalize | (Inherited from Object.) | |
| GetHashCode | (Inherited from Object.) | |
| GetType | (Inherited from Object.) | |
| ListToJsonT(IListT) |
List转换成Json
| |
| ListToJsonT(IListT, String) |
List转换成Json
| |
| MemberwiseClone | (Inherited from Object.) | |
| ToArrayString |
普通集合转换Json
| |
| ToJson(IEnumerable) |
对象集合转换Json
| |
| ToJson(DbDataReader) |
DataReader转换为Json
| |
| ToJson(DataSet) |
DataSet转换为Json
| |
| ToJson(DataTable) |
Datatable转换为Json
| |
| ToJson(Object) |
对象转换为Json
| |
| ToJson(DataTable, String) |
DataTable转换为Json
| |
| ToString | (Inherited from Object.) |
See Also