Method | Description | |
---|---|---|
ConvertJson ( string json ) : dynamic |
json转换object动态类 add duk by 2016-05-19
|
|
DataTableToJson ( |
dataTable转成JSON add sunkaixuan
|
|
DataTableToJson ( |
dataTable转成JSON add sunkaixuan
|
|
JsonClass ( object obj ) : dynamic |
自定义查询对象转换动态类 add dukang by 2016-05-19
|
|
Serialize ( object obj, bool DateConvert = false ) : string |
object动态类转换json包 add dukang by 2016-05-19
|
|
String2Json ( String s ) : string |
过滤特殊字符 add dukang by 2016-05-19
|
|
ToJson ( |
DataSet转换为Json add dukang by 2016-05-19
|
|
ToJson ( |
Datatable转换为Json add dukang by 2016-05-19
|
|
ToJson ( |
DataTable转成Json add dukang by 2016-05-19
|
|
ToJson ( IDataReader dataReader ) : string |
DataReader转换为Json
|
Method | Description | |
---|---|---|
StringFormat ( string str, |
格式化字符型、日期型、布尔型 add dukang by 2016-05-19
|
public static ConvertJson ( string json ) : dynamic | ||
json | string | |
return | dynamic |
public static DataTableToJson ( |
||
table | ||
return | string |
public static DataTableToJson ( |
||
table | ||
dateFormat | string | 设置序列化的时间格式 |
return | string |
public static JsonClass ( object obj ) : dynamic | ||
obj | object | |
return | dynamic |
public static Serialize ( object obj, bool DateConvert = false ) : string | ||
obj | object | 对象 |
DateConvert | bool | 时间戳是否转换成日期类型 |
return | string |
public static String2Json ( String s ) : string | ||
s | String | |
return | string |
public static ToJson ( |
||
dataSet | DataSet对象 | |
return | string |
public static ToJson ( |
||
dt | Datatable对象 | |
return | string |
public static ToJson ( |
||
dt | ||
jsonName | string | |
return | string |
public static ToJson ( IDataReader dataReader ) : string | ||
dataReader | IDataReader | DataReader对象 |
return | string |