// Copyright (c) Microsoft Open Technologies, Inc. All rights reserved. See License.md in the project root for license information.
using System;
namespace Microsoft.AspNet.SignalR.Json
{
///
/// Represents a JSON value.
///
public interface IJsonValue
{
///
/// Converts the parameter value to the specified .
///
/// The to convert the parameter to.
/// The converted parameter value.
object ConvertTo(Type type);
///
/// Determines if the parameter can be converted to the specified .
///
/// The to check.
/// True if the parameter can be converted to the specified , false otherwise.
bool CanConvertTo(Type type);
}
}