共用方式為


JwtPayload.Deserialize(String) Method

Definition

Deserialzes JSON into a JwtPayload instance.

public static System.IdentityModel.Tokens.Jwt.JwtPayload Deserialize (string jsonString);
static member Deserialize : string -> System.IdentityModel.Tokens.Jwt.JwtPayload
Public Shared Function Deserialize (jsonString As String) As JwtPayload

Parameters

jsonString
String

The JSON to deserialize.

Returns

An instance of JwtPayload.

Remarks

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

Applies to