JsonHelper Class

DCSoft.DBUtilityGeneric

JsonHelper Class
json帮助类
Inheritance Hierarchy
SystemObject  DCSoft.Utility.UtilsJsonHelper

Namespace: DCSoft.Utility.Utils
Assembly: DCSoft.Utility (in DCSoft.Utility.dll) Version: 0.0.0.0 (1.0.0.0)
Syntax
C#
public class JsonHelper

The JsonHelper type exposes the following members.

Constructors
  NameDescription
Public methodJsonHelper
Initializes a new instance of the JsonHelper class
Top
Methods
  NameDescription
Public methodEquals (Inherited from Object.)
Protected methodFinalize (Inherited from Object.)
Public methodStatic membergetDictionary
获取字典
Public methodGetHashCode (Inherited from Object.)
Public methodStatic membergetObjectList
获取对象列表
Public methodGetType (Inherited from Object.)
Public methodStatic memberJson2Dictionary
json转换为字典
Public methodStatic memberJson2ListT
json转换为泛型列表
Public methodStatic memberJson2ObjectT
json转换为对象
Public methodStatic memberJson2XML
json转换为xml
Public methodStatic memberLinq2Json
linq转换为json
Public methodStatic memberLinq2String
linq转换为字符串
Protected methodMemberwiseClone (Inherited from Object.)
Public methodStatic memberObject2Json(Object)
对象转换为json
Public methodStatic memberObject2Json(Object, JsonSerializerSettings)
对象转换为json
Public methodToString (Inherited from Object.)
Top
See Also