共用方式為


ISerializer.SerializeObject(Object) Method

Definition

Serializes the specified object into a JSON string.

public string SerializeObject (object serializeableObject);
abstract member SerializeObject : obj -> string
Public Function SerializeObject (serializeableObject As Object) As String

Parameters

serializeableObject
Object

The object to serialize.

Returns

The JSON string.

Applies to