public bool CanProcess()

in src/Microsoft.Extensions.Configuration.AzureAppConfiguration/JsonKeyValueAdapter.cs [45:62]


        public bool CanProcess(ConfigurationSetting setting)
        {
            if (setting == null ||
                string.IsNullOrWhiteSpace(setting.Value) ||
                string.IsNullOrWhiteSpace(setting.ContentType))
            {
                return false;
            }

            if (setting.ContentType.TryParseContentType(out ContentType contentType))
            {
                return contentType.IsJson() &&
                    !contentType.IsFeatureFlag() &&
                    !contentType.IsKeyVaultReference();
            }

            return false;
        }