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

C1.AspNetCore.Mvc アセンブリ > C1.JsonNet 名前空間 > JsonHelper クラス > SerializeObject メソッド : SerializeObject(Object,JsonSetting) メソッド
The object to serialize.
The JsonSetting used to serialize the object. If this is null, default serialization settings will be used.
Serializes the specified object to a JSON string using JsonSetting.
シンタックス
'宣言
 
Public Overloads Shared Function SerializeObject( _
   ByVal obj As System.Object, _
   Optional ByVal js As JsonSetting _
) As System.String
public static System.string SerializeObject( 
   System.object obj,
   JsonSetting js
)

パラメータ

obj
The object to serialize.
js
The JsonSetting used to serialize the object. If this is null, default serialization settings will be used.

戻り値の型

A JSON string representation of the object.
参照

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