Click or drag to resize
JsonHelperToJsonT Method (ListT, Type)
将一个实体类对象转换到Json格式

Namespace: X3Platform.Util
Assembly: X3Platform.Support (in X3Platform.Support.dll) Version: 1.0.0.0 (2.0.0.0)
Syntax
public static string ToJson<T>(
	List<T> list,
	Type type
)

Parameters

list
Type: System.Collections.GenericListT

[Missing <param name="list"/> documentation for "M:X3Platform.Util.JsonHelper.ToJson``1(System.Collections.Generic.List{``0},System.Type)"]

type
Type: SystemType

[Missing <param name="type"/> documentation for "M:X3Platform.Util.JsonHelper.ToJson``1(System.Collections.Generic.List{``0},System.Type)"]

Type Parameters

T

[Missing <typeparam name="T"/> documentation for "M:X3Platform.Util.JsonHelper.ToJson``1(System.Collections.Generic.List{``0},System.Type)"]

Return Value

Type: String

[Missing <returns> documentation for "M:X3Platform.Util.JsonHelper.ToJson``1(System.Collections.Generic.List{``0},System.Type)"]

See Also