Table of Contents

Class JsonSerializerExtensions

Namespace
JWT
Assembly
Coherence.JWT.dll

Extension methods for IJsonSerializer

public static class JsonSerializerExtensions
Inheritance
JsonSerializerExtensions

Methods

Deserialize<T>(IJsonSerializer, string)

Deserializes a JSON string to an object of specified type.

public static T Deserialize<T>(this IJsonSerializer jsonSerializer, string json)

Parameters

jsonSerializer IJsonSerializer

The JSON serializer instance.

json string

JSON string

Returns

T

Strongly-typed object.

Type Parameters

T

The type of the object to deserialize to.