NServiceBus.JsonMessageSerializer.DeserializeObject C# (CSharp) Method

DeserializeObject() public method

Non strongly typed deserialization.
public DeserializeObject ( string value, Type type ) : object
value string
type System.Type
return object
        public object DeserializeObject(string value, Type type)
        {
            Guard.AgainstNull(nameof(type), type);
            Guard.AgainstNullAndEmpty(nameof(value), value);
            return JsonConvert.DeserializeObject(value, type);
        }