Net.Bluewalk.DotNetUtils/Extensions/StringExtensions.cs
/// <summary>
/// Convert JSON string to object.
/// </summary>
/// <typeparam name="T"></typeparam>
/// <param name="value"></param>
/// <param name="resolver"></param>
/// <returns></returns>
Convert JSON string to object.
Convert JSON string to object .
public static T DeserializeJson<T>(this string value, IContractResolver resolver)
        {
            return JsonConvert.DeserializeObject<T>(
                value,
                new JsonSerializerSettings
                {
                    ContractResolver = resolver
                }
            );
        }
public static T DeserializeJson < T > ( this string value , IContractResolver resolver ) { return JsonConvert . DeserializeObject < T > ( value , new JsonSerializerSettings { ContractResolver = resolver } ) ; }
Convert JSON string to object.
Convert JSON string to object .
None
string
this
resolver
IContractResolver
None
value
None
typeparam
None