JsonHelper.ToJson Method (IEnumerable)

HD.Common

JsonHelperToJson Method (IEnumerable) Helper帮助文档
对象集合转换Json

Namespace: HD.Common
Assembly: HD.Common (in HD.Common.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax

public static string ToJson(
	IEnumerable array
)
Public Shared Function ToJson ( 
	array As IEnumerable
) As String
public:
static String^ ToJson(
	IEnumerable^ array
)
static member ToJson : 
        array : IEnumerable -> string 

Parameters

array
Type: System.CollectionsIEnumerable
集合对象

Return Value

Type: String
Json字符串
See Also

Reference