Partilhar via


JwtPayload.SerializeToJson Method

Definition

Serializes this instance to JSON.

public virtual string SerializeToJson ();
abstract member SerializeToJson : unit -> string
override this.SerializeToJson : unit -> string
Public Overridable Function SerializeToJson () As String

Returns

This instance as JSON.

Remarks

Use System.IdentityModel.Tokens.Jwt.JsonExtensions.Serializer to customize JSON serialization.

Applies to