类库说明文档
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: Stringjson字符串
See Also