src/Orleans.Core/Serialization/OrleansJsonSerializer.cs
/// <summary>
/// Deserializes an object of the specified expected type from the provided input.
/// </summary>
/// <param name="expectedType">The expected type.</param>
/// <param name="input">The input.</param>
/// <returns>The deserialized object.</returns>
Deserializes an object of the specified expected type from the provided input.
Deserializes an object of the specified expected type from the provided input .
public object Deserialize(Type expectedType, string input)
        {
            if (string.IsNullOrWhiteSpace(input))
            {
                return null;
            }
            return JsonConvert.DeserializeObject(input, expectedType, this.settings.Value);
        }
public object Deserialize ( Type expectedType , string input ) { if ( string . IsNullOrWhiteSpace ( input ) ) { return null ; } return JsonConvert . DeserializeObject ( input , expectedType , this . settings . Value ) ; }
Deserializes an object of the specified expected type from the provided input.
Deserializes an object of the specified expected type from the provided input .
The deserialized object.
The deserialized object .
expectedType
Type
The expected type.
The expected type .
input
string
None