Share via


SystemTextJsonPayloadSerializer.SerializeToString(Object) Method

Definition

Serialize the specified object to a string.

public override string SerializeToString (object objectToSerialize);
override this.SerializeToString : obj -> string
Public Overrides Function SerializeToString (objectToSerialize As Object) As String

Parameters

objectToSerialize
Object

Object to serialize.

Returns

A serialized string of the object.

Applies to