DesktopHelper.UI.CalendarForm.GetJsonContent C# (CSharp) Method

GetJsonContent() private method

private GetJsonContent ( String weatherQueryResult ) : String
weatherQueryResult String
return String
        private String GetJsonContent(String weatherQueryResult)
        {
            string pattern = "{\"weatherinfo\":(.*)}";
            var result = Regex.Match(weatherQueryResult, pattern, RegexOptions.IgnoreCase).Groups;
            if (result.Count > 1)
            {
                return result[1].Value;
            }
            return string.Empty;
        }