JsonHelper.Object2Json Method (Object, JsonSerializerSettings)

DCSoft.DBUtilityGeneric

JsonHelperObject2Json Method (Object, JsonSerializerSettings)
对象转换为json

Namespace: DCSoft.Utility.Utils
Assembly: DCSoft.Utility (in DCSoft.Utility.dll) Version: 0.0.0.0 (1.0.0.0)
Syntax
C#
public static string Object2Json(
	Object obj,
	JsonSerializerSettings settings
)

Parameters

obj
Type: SystemObject
对象实例
settings
Type: JsonSerializerSettings
日期格式化JsonSerializerSettings格式

Return Value

Type: String
json字符串
See Also