private bool IsJson(string data)
{
bool result = true;
try
{
JToken.Parse(data);
}
catch (Exception ex)
{
Dev2Logger.Log.Error(ex);
result = false;
}
return result;
}