SerializationExtensions.DeserializeFromJson Method

Namespace:
Weavy.Core.Helpers
Assembly:
Weavy.Core.dll

DeserializeFromJson(string, JsonSerializerSettings)

Deserializes the specified json string into an object graph.

Uses JSON.NET.

public static T DeserializeFromJson<T>(this string json, JsonSerializerSettings settings = null)

Parameters

json
string

The json serialized object.

settings
Newtonsoft.Json.JsonSerializerSettings

The json serializer settings to use, null for default settings.

Returns

Returns an instance of the specified type.