ASP.NET Core MVC コントロールヘルプ
C1Json(Object,Boolean) メソッド

C1.AspNetCore.Mvc アセンブリ > C1.Web.Mvc.Serialization 名前空間 > JsonConvertHelper クラス > C1Json メソッド : C1Json(Object,Boolean) メソッド
The object to serialize.
A System.Boolean value decides whether to use camel case to serialize the data.
Creates a Microsoft.AspNetCore.Mvc.JsonResult object that serializes the specified data object to JSON.
シンタックス
'宣言
 
Public Overloads Shared Function C1Json( _
   ByVal data As System.Object, _
   Optional ByVal useCamelCasePropertyName As System.Boolean _
) As Microsoft.AspNetCore.Mvc.JsonResult
public static Microsoft.AspNetCore.Mvc.JsonResult C1Json( 
   System.object data,
   System.bool useCamelCasePropertyName
)

パラメータ

data
The object to serialize.
useCamelCasePropertyName
A System.Boolean value decides whether to use camel case to serialize the data.

戻り値の型

The created Microsoft.AspNetCore.Mvc.JsonResult that serializes the specified data to JSON format for the response.
参照

JsonConvertHelper クラス
JsonConvertHelper メンバ
オーバーロード一覧