private static IDictionary ParseConfig()

in src/Amazon.Extensions.Configuration.SystemsManager/AppConfig/AppConfigProcessor.cs [165:180]


        private static IDictionary<string, string> ParseConfig(string contentType, Stream configuration)
        {
            // Content-Type has format "media-type; charset" or "media-type; boundary" (for multipart entities).
            if (contentType != null)
            {
                contentType = contentType.Split(';')[0];
            }

            switch (contentType)
            {
                case "application/json":
                    return JsonConfigurationParser.Parse(configuration);
                default:
                    throw new NotImplementedException($"Not implemented AppConfig type: {contentType}");
            }
        }